FantasyGM Links Now Look the Part
Why Care?
Most people will meet FantasyGM as a link someone drops in a league group chat. Until today, that link showed up as a title and a sentence of gray text. Now it unfurls as a full banner: the pitch in big scoreboard type, next to a contract sheet that shows what a FantasyGM roster actually looks like.
What’s New?
- A share banner (1200×630) for iMessage, Slack, LinkedIn, X, Discord, and anywhere else that previews links.
- A tall card (1200×1600) for chat apps that favor taller previews.
- Large-image previews on X, instead of the small thumbnail card.
- Alt text on both images, so the preview makes sense to screen-reader users too.
The Story
There were two ways to make these images. One was AI illustration: describe a scene, generate a batch, and pick the best of the bunch. The other was to photograph the product itself.
We picked the product. The contract sheet from the home page already says what FantasyGM is about: salaries, years left, cap space, and who’s a keeper. An illustration would have to invent a metaphor for that. The sheet just shows it. As a bonus, a screenshot comes out the same every time, uses our real fonts and colors, and costs nothing to regenerate.
Like the home page, every player on the sheet is fictional.
Under the Hood
The images are screenshots of two real pages built from the site’s own components:
flowchart LR
A[OgCard.astro<br/>banner + tall layouts] --> B[/og/banner/<br/>/og/banner-tall/]
B --> C[Headless Chrome<br/>at 2x]
C --> D[JPEG in public/]
D --> E[og:image tags]
scripts/og-capture.mjs drives Chrome directly over its DevTools protocol, so it needs no extra dependencies. It renders each page at twice the final size for crisp text, then downsizes and converts with macOS’s built-in sips. If a design change calls for new images, one command regenerates both, and the previous versions are archived rather than overwritten.
What’s Next
Per-entry share images, so each changelog post unfurls with its own headline.
Written with Claude Code on Claude Opus 5.5.