Skip to content

Use dedicated 1.91:1 image for social preview#28

Merged
fredrivett merged 1 commit into
mainfrom
fredrivett/social-preview-gif
Jun 26, 2026
Merged

Use dedicated 1.91:1 image for social preview#28
fredrivett merged 1 commit into
mainfrom
fredrivett/social-preview-gif

Conversation

@fredrivett

@fredrivett fredrivett commented Jun 26, 2026

Copy link
Copy Markdown
Owner

The social card previously pointed og:image at demo.gif (1200×1015, 14MB), which is the wrong aspect ratio and exceeds Twitter/X's 5MB image limit, so the preview rendered incorrectly. This adds a dedicated 1200×630 (1.91:1) demo-social.gif (~2MB) and points og:image/twitter:image at it, with explicit og:image:width/height hints. The GIF is trimmed to start a few seconds in so its first frame shows the populated reeve dropdown, since X uses a static first frame for card images. The inline page demo (demo.gif) is unchanged.

🤖 Generated with Claude Code


Summary by cubic

Switches social previews to a dedicated 1200×630 (1.91:1) GIF so Open Graph and Twitter/X cards render correctly and stay under the 5MB limit. The on-page demo GIF is unchanged.

  • Bug Fixes
    • Added site/demo-social.gif and set og:image and twitter:image to use it.
    • Declared og:image:width and og:image:height for better crawler hints.
    • Trimmed GIF so the first frame shows the populated Reeve dropdown (X uses a static first frame).

Written for commit 522c3cb. Summary will update on new commits.

Review in cubic

The social card pointed at demo.gif (1200x1015, 14MB) which exceeds
Twitter's 5MB limit and is the wrong aspect ratio. Point og:image and
twitter:image at a new 1200x630 demo-social.gif (2MB), with explicit
image dimensions. The inline page demo is unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@fredrivett fredrivett merged commit 6b790ce into main Jun 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant