Skip to main content

og:image size: dimensions that work

Use 1200 × 630 pixels. That is a ratio of 1.91:1, the size Meta recommends for a large link preview, and the other networks that read Open Graph tags display it well. The rest of this page covers what changes below that size and what else can go wrong with the image.

The numbers

CaseSize
Recommended, large preview1200 × 630 px, ratio 1.91:1
Below this, Facebook shows a small thumbnail beside the textunder 600 × 315 px

On X, the card type decides the layout: with twitter:card set to summary_large_image the image runs across the full width of the post; without it you get the small card.

The tag

<meta property="og:image" content="https://yoursite.com/og.png">

  • The address is complete, with https://. A path such as /og.png is not enough for most scrapers.
  • The file is a normal image the crawler can download without logging in.
  • og:image:width and og:image:height are optional. If you set them, they must match the file, because they are often left over from an older image.

Designing inside the frame

Networks crop a little differently, and the preview is small on a phone. Keep the subject and any text well inside the edges, use large type, and look at the image at thumbnail size before you ship it.

Measure what you serve

The file in your design tool and the file at the address in the tag can differ: a build step resized it, a CDN recompressed it, or the tag points to last year’s image. The Open Graph Checker downloads the image from the address in your tag and reports its real dimensions and status code, and says so when the tag is missing or the address is relative.

If the old image still shows

Networks cache previews. After you replace the image, Facebook and LinkedIn can go on showing the old one until you ask them to fetch the page again, each in its own tool. A new file name helps too, since the new address is in no cache. The two guides on this are checking tags for Facebook and LinkedIn Post Inspector.

Next step

Related guides