seo: add og:image dimensions + alt text to all public pages#58
seo: add og:image dimensions + alt text to all public pages#58VaultSparkStudios wants to merge 1 commit into
Conversation
103 public-facing index.html files were missing og:image:width (1200), og:image:height (630), og:image:type (image/png), and og:image:alt. The homepage had the complete set; all other pages did not. Without these attributes, social platforms (LinkedIn, Discord, iMessage, Slack) may fall back to text-only cards instead of large image previews. Alt text is derived from each page's og:title (or <title> fallback), matching the homepage pattern. All OG images in this repo are 1200×630 PNG. Also adds scripts/add-og-image-dims.mjs — the script used to apply the fix. Co-Authored-By: Claude <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 639cd6b6cb
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| <meta property="og:url" content="https://vaultsparkstudios.com/brand/" /> | ||
| <meta property="og:image" content="https://vaultsparkstudios.com/assets/brand/logo-cinematic.png" /> | ||
| <meta property="og:image:width" content="1200" /> | ||
| <meta property="og:image:height" content="630" /> |
There was a problem hiding this comment.
Correct the Brand Kit OG image dimensions
For the Brand Kit page, the og:image points to assets/brand/logo-cinematic.png, whose PNG header reports 1200×1200, but this change advertises it as 1200×630. In that share context, social parsers receive the wrong aspect ratio and can crop, reserve the wrong preview box, or reject the large-card treatment; either use a 1200×630 Open Graph asset for this page or set the metadata to the actual 1200×1200 dimensions.
Useful? React with 👍 / 👎.
What this fixes
The homepage had the complete Open Graph image tag set:
103 other public pages had
og:imagebut were missingwidth,height,type, andalt.Without these attributes, social platforms fall back to text-only link cards instead of large image previews:
og:image:altis surfaced by some assistive tools that process shared linksWhat changed
og:image:width(1200),og:image:height(630),og:image:type(image/png), andog:image:altimmediately after every existingog:imagetag across 103 publicindex.htmlfilesog:title(with<title>as fallback), matching the pattern already used on the homepagescripts/add-og-image-dims.mjs— the script used to apply the fix (idempotent; re-running is safe)Scope
vault-member/,investor-portal/,studio-hub/,ignis-health/index.html) was already correct and is unchangedWhat to verify
/games/call-of-doodie/) — should show banner imagegrep -r 'og:image"' . --include='index.html' | grep -v 'og:image:' | grep -v vault-member | grep -v investor— should return zero results (all og:image lines now have dimension siblings)Automated content quality pass — scheduled agent. Do NOT merge without owner review.
Generated by Claude Code