Skip to content

Re-encode the Twitter card image as a standard JPEG - #204

Merged
git-chad merged 1 commit into
mainfrom
git-chad/og-image-twitter-check
Oct 16, 2026
Merged

git-chad merged 1 commit into
mainfrom
git-chad/og-image-twitter-check

Conversation

@git-chad

Copy link
Copy Markdown
Collaborator

The X card for Shader Lab hasn't shown the new image since the V3 launch deploy. The site serves correct tags and a valid image, so the likely cause is X's ~7-day card cache, which still points at the deleted `/twitter-image.jpg`.

The one real anomaly on our side: the ffmpeg-encoded `opengraph-image.jpg` used 1x2 sampling on every component plus optimized Huffman tables. This re-saves it as a baseline 4:2:0 JPEG (same structure as the image X rendered before, visually identical, 123 KB) and adds `?v=2` to the `twitter:image` URL so X refetches it.

To check on X: share `https://eng.basement.studio/tools/shader-lab?v=3\`. A new URL skips the card cache.

🤖 Generated with Claude Code

The ffmpeg-encoded card image used 1x2 sampling on every component and
optimized Huffman tables. Re-save it as a baseline 4:2:0 JPEG, matching the
image X rendered before, and version its URL so X refetches it.
@vercel

vercel Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
shader-lab Ready Ready Preview Oct 16, 2026 3:14pm UTC

@greptile-apps

greptile-apps Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This PR appears safe to merge.

Summary

Replaces the Twitter preview image and adds ?v=2 to its shared URL so crawlers can fetch a fresh copy.

  • Shader Lab’s Twitter card uses a re-encoded JPEG at a new URL.

Reviews (1) · Last reviewed commit: "Re-encode the Twitter card image as a st..." · Reviewed by Greptile

@git-chad
git-chad merged commit 651c319 into main Oct 16, 2026
5 checks passed

This branch was successfully deployed

1 active deployment
Preview — d0d2058d Deployed Oct 16, 2026 by vercel[bot]
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