Automattic / Automattic/jetpack

Jetpack Social: Mastodon Social Preview Doesn't Resize Image Appropriately

Open
#41,657 8 comments 0 reactions 0 assignees View on GitHub
[Experiment] AI labels added [Extension] Social Previews [Feature] Publicize [Plugin] Social [Pri] Low [Status] Auto-allocated Bug Triaged
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### Impacted plugin

Social

### Quick summary

When previewing a social media post, the Mastodon preview doesn't properly resize the image:

Image

### Steps to reproduce

1. Add a large Featured Image (my test image was 2104 x 1184)
2. Select Mastodon as a sharing destination
3. Access the preview function and observe that the image isn't properly resized in the Mastodon preview

### Site owner impact

Between 20% and 60% of the total website/platform users

### Severity

Minor

### What other impact(s) does this issue have?

No revenue impact

### If a workaround is available, please outline it here.

_No response_

### Platform (Simple and/or Atomic)

Self-hosted

Contributor guide

Open the contributing guide

Research direction

The Jetpack Social Mastodon preview is the only entry point named; no source file or test is identified. Start by reproducing the issue with a large Featured Image and compare the Mastodon preview with the expected image sizing. Done means the preview resizes the image appropriately without affecting other sharing destinations.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.