How to Create an Open Graph Image (2026)
Open Graph image sizes per platform, the tags to set, and a worked audit of our own 783 pages: 674 shared a square logo inside a wide card, which X crops into a strip, and our template pointed at a file that did not exist.
What the Image Does
When a link is pasted into a feed or chat, the app fetches the page and builds a preview from its Open Graph tags: og:title, og:description and og:image. Without an og:image the app picks an image from the page or shows none. Which preview appears, and how it is cropped, is decided by each platform from the image you supply and the card type you declare.
Sizes That Work Across Platforms
| Platform | What it asks for |
|---|---|
| Facebook / Meta | At least 1200ร630 for the large link preview (1.91:1); smaller images show as a small thumbnail |
X, summary_large_image | 2:1 aspect, minimum 300ร157, maximum 4096ร4096, under 5 MB |
X, summary | 1:1 aspect, minimum 144ร144, maximum 4096ร4096 |
| 1.91:1, 1200ร627 recommended |
A 1200ร630 image fits all of the wide cards: X crops it slightly to 2:1. Keep text and logos away from the top and bottom 15 pixels and inside a centered safe area, because the same image is cropped differently by each app. Declare og:image:width and og:image:height so the first share renders without waiting for the image to be fetched.
Worked Example: Auditing Our Own Site
We checked the Open Graph tags of all 783 pages on this site (October 13, 2026; script in our test folder):
| Check | Result |
|---|---|
| Pages with an absolute https og:image | 782 of 783 |
| Image files that do not exist | 0 |
| Pages sharing one 512ร512 square logo as og:image | 674 |
โฆof those, declaring summary_large_image | 674 (until this audit) |
| Pages with their own image | 109, mostly 1200ร744 WebP (1.61:1) |
Two problems. A square logo inside a large-image card gets cropped into a 2:1 strip, so on X most of our pages would have shown a sliced logo; we switched those 674 pages to the summary card, which displays a square image as intended. Our own article images are 1.61:1 rather than 1.91:1, so the wide cards trim their tops and bottoms. The real fix is one designed 1200ร630 card per page, which we have queued. The audit also found that our page template pointed og:image at a file that had never existed.
The Tags
<meta property="og:image" content="https://example.com/og/page-name.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="Short description of the image">
<meta name="twitter:card" content="summary_large_image">
Use an absolute https URL. PNG or JPEG are the safest formats; keep the file well under 5 MB (a designed card is usually 50-300 KB). Pick the card type to match the image: summary_large_image for wide images, summary for square logos.
When a Platform Shows the Old Image
Platforms cache previews. After changing the image, use a new file name (or a query string) so the URL changes, then ask the platform to re-fetch: Meta's Sharing Debugger and LinkedIn's Post Inspector both have a re-scrape button. X re-fetches cards on its own schedule.
The OG Image Generator builds 1200ร630 cards from a title, colors and an optional logo, and downloads them as images ready for og:image.
Frequently Asked Questions
What is an OG image and why does every page need one?
Why 1200ร630 specifically?
How is the PNG exported?
Do the uploaded logos ever leave my browser?
What text length works best on a 1200ร630 card?
How do I actually install the OG image on my site?
Generate a 1200ร630 OG image in seconds โ no signup, no upload
โก Open OG Image Generator