An Open Graph image is the picture a social platform shows in a link preview, set on your page with the og:image meta tag. Size it at least 1200 x 630 pixels at about a 1.91:1 ratio. That clears the minimums Facebook and LinkedIn document. X no longer documents a size on a live page we could find.
The tag comes from the Open Graph protocol, which "enables any web page to become a rich object in a social graph." It is a standard way to describe a page's title, type, image, and URL so any platform can build a consistent preview card.
What tags make up an Open Graph image?
Every page needs four required properties: og:title, og:type, og:image, and og:url. The Open Graph protocol specification defines og:image as "an image URL which should represent your object within the graph."
og:image also has optional properties, attached with a colon suffix:
og:image:url: identical toog:image.og:image:secure_url: an alternate URL to use if the page requires HTTPS.og:image:type: a MIME type for the image.og:image:width: the number of pixels wide.og:image:height: the number of pixels high.og:image:alt: a description of what is in the image, not a caption.
The spec says: "If the page specifies an og:image it should specify og:image:alt." A minimal example from the spec:
<meta property="og:image" content="http://example.com/ogp.jpg" />
<meta property="og:image:width" content="400" />
<meta property="og:image:height" content="300" />
<meta property="og:image:alt" content="A shiny red apple with a bite taken out" />
What size does Facebook recommend?
Facebook recommends at least 1200 x 630 pixels. Meta's Images in Link Shares documentation says: "Use images that are at least 1200 x 630 pixels for the best display on high resolution devices."
Facebook also states a hard floor, "the minimum allowed image dimension is 200 x 200 pixels," and a practical minimum for the larger link-post layout: "at the minimum, you should use images that are 600 x 315 pixels to display link page posts with larger images." Below that, the image can still show, just smaller.
Two more details from the same page: the image file "must not exceed 8 MB," and you should keep images "as close to 1.91:1 aspect ratio as possible to display the full image in Feed without any cropping."
Meta's sharing best practices page adds a tip. Set og:image:width and og:image:height "to specify the image dimensions to the crawler so that it can render the image immediately without having to asynchronously download and process it." It is a small speed gain, not a requirement.
What size does LinkedIn recommend?
LinkedIn recommends at least 1200 x 627 pixels at a 1.91:1 ratio, with a file under 5 MB. LinkedIn's help article, Make your website shareable on LinkedIn, says your source code needs og:title, og:image, og:description, and og:url tags in the correct format. It lists image requirements "specific to the LinkedIn sharing module": a maximum file size of 5 MB, minimum dimensions of 1200 (w) x 627 (h) pixels, and a recommended ratio of 1.91:1.
LinkedIn also documents a cutoff for small images: "images less than 401 pixels wide display as a thumbnail image" rather than the larger preview format.
What size does X recommend?
We cannot point to a live X page that states a size. As of September 2026, X's developer documentation site (docs.x.com) no longer hosts a dedicated Cards reference page. The old developer.twitter.com and developer.x.com URLs for Cards documentation now redirect to the general developer overview or return a 404. A full pull of the current docs.x.com content turns up no Cards or link-preview-image section, only an unrelated "cards" feature inside the Ads API for lead-generation forms.
X's Card Validator, formerly at cards-dev.twitter.com, is also no longer available, and there is no current official replacement. The tags (twitter:card, twitter:image, and the og:image fallback) were documented for years. Check the rendered preview on X instead of relying on a number.
Do I need a different image for each platform?
No. One image sized for the largest documented minimum, 1200 x 630 pixels (effectively LinkedIn's 1200 x 627), at about a 1.91:1 ratio, clears both platforms' documented thresholds. Set og:image, og:image:width, og:image:height, and og:image:alt once in the page <head>, and Facebook and LinkedIn both read the same image.
If a page needs a different crop for different contexts, such as a square and a wide banner, repeat the og:image tag with different images and dimensions. Per the spec, when a tag can have multiple values, "just put multiple versions of the same <meta> tag on your page," and consumers generally use the first one listed.
How do I check what the preview will look like?
Check the live preview on each platform. Platforms cache what they have seen, so a live check matters more than the HTML.
- use the Sharing Debugger "to test how your websites are viewed by our scraper." Meta says the tool "also refreshes any scraped content we have for your websites," which matters if you changed the image after the link was last shared, since Facebook otherwise works on "the standard 24 hour update period."
- use LinkedIn's Post Inspector. LinkedIn explains that "the preview window may show an old image that is cached" if you have shared the URL before, and the Post Inspector refreshes it. A limit applies: "the changes you make will only affect the URL's preview image and information for new posts that include it. The preview for any existing posts with this URL will remain the same." Fixing the tag does not fix a post you already published.
- X
- with no current official validator, start a new post with the link and look at the preview it renders before you send it.
What should I check before I publish?
-
og:title,og:type,og:image, andog:urlare set on every page you expect to be shared. - The image is at least 1200x630px (covers Facebook's and LinkedIn's stated minimums) at about 1.91:1.
-
og:image:width,og:image:height, andog:image:altare set alongsideog:image. - The image file is under 5 MB (LinkedIn's limit; also under Facebook's 8 MB ceiling).
- The image is served over HTTPS at an absolute URL, not a relative path.
- You checked the rendered preview in Facebook's Sharing Debugger and LinkedIn's Post Inspector after publishing or updating the image, not just the tags in the page source.
If you build the page in Figma and publish it as a static site, check the actual output for your favicon too. See how to add a favicon from a Figma design. The Open Graph image is one item on a longer pre-launch list, and our checklist for reviewing an AI-generated website before launch covers the rest.