Open Graph image size mistakes that break previews

By ShareScan ยท EngineeringPublished 3 min readCategory Open Graph

A practical guide to Open Graph image dimensions, file constraints, and cropping mistakes that make social previews unreliable.

Generated Open Graph image sizing illustration with crop guides and preview cards

Open Graph image problems are easy to underestimate because the page itself can look perfect. The hero image renders, the CMS preview looks right, and the marketing team approves the creative. Then the link is shared and the preview image is missing, cropped awkwardly, or replaced by a fallback.

The issue is often not the art direction. It is the delivery contract. Social platforms need an image URL they can fetch, understand, cache, and crop into a preview card. If the asset breaks that contract, the platform will improvise.

The safest default size

For most Open Graph previews, 1200x630 is the pragmatic default. It is large enough for high-density displays, matches the common 1.91:1 preview ratio, and keeps crops predictable across LinkedIn, Slack, Facebook-style cards, and many messaging tools.

Size mistakes that cause broken cards

  • Using a tiny image that platforms reject or de-prioritize.
  • Uploading a huge uncompressed image that is slow to fetch.
  • Using a tall portrait image that gets cropped beyond recognition.
  • Embedding important text too close to the edge of the card.
  • Serving an image through a signed URL that expires.
  • Forgetting to update og:image:width and og:image:height.
MistakeWhat users seeBetter default
Square imageCropped or letterboxed card`1200x630` landscape image
Tiny thumbnailMissing or blurry previewHigh-quality card asset
Text at edgesCut-off headline or CTASafe margins around key content
Private CDN URLNo preview imagePublic `https` asset URL

Do not make the image do the metadata's job

It is tempting to put the page title, subtitle, logo, and CTA inside the image. That can work for some brand campaigns, but it also makes cropping and localization harder. For evergreen blog posts, the preview image should support the link, while og:title and og:description carry the readable text.

This is especially important for generated images. A generated Open Graph image should avoid tiny UI text, invented logos, and dense copy. Keep it visually clear, leave safe margins, and let the metadata fields do their job.

Prepare a reliable Open Graph image

Use this before uploading a share image to Sanity or another CMS.

  1. Start with a wide source

    Create or select an image that still works after a 1.91:1 crop.

  2. Normalize to 1200x630

    Crop and resize the final asset before referencing it in metadata.

  3. Keep text out of the image

    Use metadata fields for headline and description whenever possible.

  4. Publish to a stable URL

    Avoid signed, authenticated, or expiring image URLs.

  5. Scan the public page

    Confirm the final `og:image` value resolves and matches expected dimensions.

Treat image dimensions as a regression check

Image size is not a one-time setup decision. CMS edits, template changes, CDN transforms, and image pipeline updates can all change the final asset. A metadata regression check should catch when a page that used to emit a clean 1200x630 image suddenly emits a square thumbnail or missing asset.

FAQ

No, but it is a strong default for consistent link previews. The more your image deviates from common card ratios, the more cropping risk you accept.

Yes when you know the final dimensions. They help crawlers understand the asset before rendering the preview.

Yes, as long as they are normalized to the final size, avoid unreliable text, and are referenced through a stable public URL.

Related articles

TRY SHARESCAN

Run a free 10-URL scan on your pages

Paste a few URLs (or a domain/sitemap) and run the same metadata checks we use for social preview QA and regression monitoring.

See a sample report

No signup for your first scan. Open the report, review issues, then connect Slack if you want alerts.

After scan completion, connect Slack and send a test report.

Up to 10 URLs. We will dedupe and validate automatically. Prepared 0 / 10 unique URLs.