Skip to content

seo: add og:image dimensions + alt text to all public pages#58

Open
VaultSparkStudios wants to merge 1 commit into
mainfrom
fix/og-image-dimensions-sitewide
Open

seo: add og:image dimensions + alt text to all public pages#58
VaultSparkStudios wants to merge 1 commit into
mainfrom
fix/og-image-dimensions-sitewide

Conversation

@VaultSparkStudios

Copy link
Copy Markdown
Owner

What this fixes

The homepage had the complete Open Graph image tag set:

<meta property="og:image" content="..." />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:alt" content="..." />

103 other public pages had og:image but were missing width, height, type, and alt.

Without these attributes, social platforms fall back to text-only link cards instead of large image previews:

  • LinkedIn: requires explicit dimensions to serve large image previews
  • Discord / Slack: dimension hints speed up unfurl rendering; alt text is read by screen readers in embeds
  • iMessage / WhatsApp: rely on dimensions to avoid fetching the image before deciding layout
  • Accessibility: og:image:alt is surfaced by some assistive tools that process shared links

What changed

  • Added og:image:width (1200), og:image:height (630), og:image:type (image/png), and og:image:alt immediately after every existing og:image tag across 103 public index.html files
  • Alt text is derived from each page's og:title (with <title> as fallback), matching the pattern already used on the homepage
  • All OG images in this repo are 1200×630 PNG — no guessing required
  • Added scripts/add-og-image-dims.mjs — the script used to apply the fix (idempotent; re-running is safe)

Scope

  • 103 files changed — all public-facing pages
  • Excludes private portals: vault-member/, investor-portal/, studio-hub/, ignis-health/
  • Homepage (index.html) was already correct and is unchanged

What to verify

  • Pick 2–3 pages and paste their URLs into LinkedIn Post Inspector — should show large image card
  • Check Discord unfurl on a game page URL (e.g. /games/call-of-doodie/) — should show banner image
  • Run grep -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)
  • No visible changes to the live site — this is head-only metadata

Automated content quality pass — scheduled agent. Do NOT merge without owner review.


Generated by Claude Code

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>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread brand/index.html
<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" />

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

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.

2 participants