Social Sharing Images (og:image and twitter:image): Sizes, Limites, and Fallbacks

The image spec sheet pour og:image and twitter:image — the safe 1200×630 (1,91:1) par défaut, per-platform dimensions and file-size caps, the absolute-URL rule, Google's propre 2026 thumbnail requirements, and pourquoi images échouer vs. fall back.

Première publication : 2 juil. 2026 · Dernière mise à jour : 3 août 2026 · Advanced
Langues

og:image and twitter:image point at the image in votre link-preview card — ce is the deep dive on the image requirements, pas the tag syntax (voir the Ouvrir Graph and Twitter Cards siblings pour que). The safe cross-platform par défaut is an absolute HTTPS URL to a ~1200×630px (1,91:1) image, but that's a community-converged compromise, pas a unique official spec. Seulement Meta's numbers are primary-sourced: 200×200 minimum, 600×315 floor, ≥1200×630 recommended, 1,91:1, 8 MB cap. X's ~1200×628/675 and ~5 MB, Slack's ~32 KB early-HTML lire, and WhatsApp's silent drop of grand images are community consensus, pas freshly-verifiable first-party specs — dire so. The absolute-URL rule is a réel silent échec: social robots d’exploration don't resolve relative paths. A manquant tag falls back to a scraped corps image; a present-but-broken image (404, oversized, auth-blocked) is moins forgiving and souvent montre aucun image at tout. As of March 2026 Google reads og:image pour its propre Search and Découvrir thumbnails (its propre docs don't extend ce to AI surfaces), but its spec is 16:9 / ≥1200px wide / ≥300K pixels / aucun logos / aucun text — a différent shape que the 1,91:1 social crop. Mise en cache signifie fixing an image doesn't fix already-shared liens jusqu’à vous force a re-scrape. Ce is a deep dive sous the Meta Tags pour le SEO hub.

TL;DR — Ce is the image spec sheet, pas the tag syntax — og:image / twitter:image mechanics live in the Ouvrir Graph and Twitter Cards siblings. 1200×630 (1,91:1) is the safe par défaut, pas an official universal standard. Seulement Meta’s numbers are primary-sourced: 200×200 minimum, 600×315 floor, ≥1200×630 recommended, 1,91:1, 8 MB cap. X’s ~1200×628/675 and ~5 MB, Slack’s ~32 KB early-HTML lire, and WhatsApp’s ~300 KB silent drop are community consensus, pas freshly-verifiable first-party specs — I flag qui is qui. The absolute-URL rule is a réel silent échec: social robots d’exploration don’t resolve relative paths. Manquant ≠ broken: an absent tag falls back to a scraped corps image; a présent but failing image (404, oversized, auth/robots-blocked) souvent montre nothing. Google now reads og:image pour its propre Search and Découvrir thumbnails (March 2026), but its spec is 16:9 / ≥1200px wide / ≥300K pixels / aucun logo / aucun text — a différent shape que the 1,91:1 social crop. Mise en cache signifie a fix doesn’t reach already-shared liens jusqu’à vous force a re-scrape.

Evidence for this claim The Open Graph protocol uses og:image to identify an image and defines optional image URL, MIME type, width, height, and alt properties. Scope: Open Graph protocol metadata. Confidence: high · Verified: Open Graph protocol Evidence for this claim X Cards support summary and summary_large_image card types and image metadata, subject to X's crawler and card requirements. Scope: Current X Cards markup documentation. Confidence: high · Verified: X Developer Platform: Cards markup

Ce que ce article covers (and ce que the siblings cover)

The tag mechanics — the four requis Ouvrir Graph properties, name= vs. property=, the four Twitter Card types, and the twitter:imageog:image fallback rule — are déjà handled in Ouvrir Graph Tags and Twitter Card Tags. Ce piece is the companion spec sheet: dimensions, aspect ratio, fichier size, format, the absolute-URL requirement, and ce que en réalité breaks quand quelconque of ceux is incorrect. Si you’re ici to écrire the <meta> line, commencer with ceux two; si you’re ici parce que votre image is the incorrect size or won’t montrer, you’re in the correct placer.

Un rapide reuse of the fallback rule, parce que it decides how nombreux images vous besoin: twitter:image falls back to og:image quand it’s absent, so la plupart sites définir un image and utiliser it pour les deux — vous seulement diverge si vous specifically vouloir a différent crop pour X.

The safe par défaut: 1200×630 (1,91:1) — and pourquoi it’s a compromise

Nearly every guide leads with 1200×630 and arrête là. It’s a bon par défaut, but it’s worth being honest à propos de où it comes from: it’s pas a unique cross-platform standard anyone publishes identically. It’s the community-converged size que clears Facebook’s recommendation and renders acceptably on everything sinon. Some guides dire 1200×627, some dire 1200×628 pour X — ceux are rounding and legacy variants of the même ~1,91:1 idea, pas competing specs. Pick 1200×630, and the seulement placer vous pourrait vouloir a second image is X, si vous care à propos de a tighter crop là.

Per-platform dimensions and fichier size

The unique la plupart utile chose ce page peut do is separate what’s primary-sourced (Meta) from what’s community consensus (everything sinon). I’ve been explicit à propos de qui is qui — don’t treat the non-Meta numbers as gospel.

Facebook / Meta (primary-sourced)

From Meta’s propre sharing-images documentation:

  • Minimum: “The minimum allowed image dimension is 200 x 200 pixels.”
  • Floor to éviter the petit render: “At the minimum, vous devez utiliser images que are 600 x 315 pixels to afficher lien page posts with plus grand images.”
  • Recommended: “Utiliser images que are au moins 1200 x 630 pixels pour the meilleur afficher on élevé resolution devices.”
  • Aspect ratio: garder it “as close to 1.91:1 aspect ratio as possible” to éviter cropping in Feed.
  • File-size cap: “The size of the image file must not exceed 8 MB.”

Meta is aussi the source of the “first-share” mise en cache quirk: the robot d’exploration has to voir the image au moins une fois avant it renders, so “the premier person who shares a piece of content won’t voir a rendered image.” (LinkedIn behaves similarly — ce is the re-scrape story, covered in the Ouvrir Graph sibling.)

X / Twitter (community consensus — treat with caution)

X’s numbers are the ones to faites attention with. The official Card Validator was deprecated in 2022 with aucun replacement, and developer.x.com’s Cards documentation is effectively gone: it renvoyé an HTTP 402 Payment Requis réponse in early July 2026, and as of ce mettre à jour the même URL à la place redirections (HTTP 307) to docs.x.com’s homepage, où the equivalent Cards-markup chemin 404s — a dead lien soit façon, so là is aucun live, freshly-checkable first-party X spec correct now. The figures que circulate à travers guides — roughly 1200×628 or 1200×675 pour summary_large_image, a 300×157 minimum, a 4096×4096 maximum, and a ~5 MB fichier cap, with the petit summary card needing a plus petit ~144×144-minimum square — are third-party consensus, pas a confirmed current official spec. They’re fermer suffisant to the 1,91:1 par défaut to be utile, but I wouldn’t présent quelconque spécifique X byte or pixel number as authoritative. (The X documentation and validator situation is covered in complet in the Twitter Cards sibling.)

LinkedIn, Slack, WhatsApp, Discord, iMessage

  • LinkedIn is the un non-Meta platform with its propre documented numbers: its aider page pour making a site shareable states a minimum of 1200×627 pixels, a recommended ratio of 1,91:1, and a 5 MB max fichier size — and separately notes que “images less than 401 pixels wide display as a thumbnail image.” Construire to the 1200×630 par défaut and vous clair ce with margin; don’t confuse it with Facebook’s numbers, they’re LinkedIn’s propre. Its Post Inspector is the re-scrape outil.
  • Slack is a placement gotcha plus que a size un: it’s widely reported to lire seulement the premier ~32 KB of une page’s raw HTML quand unfurling. Si votre head tags — and thus votre og:image référence — sit ci-dessous que, Slack may jamais voir les. Slack’s propre unfurling docs confirmer it reads Ouvrir Graph / X Card metadata but don’t publish a byte limite, so treat the 32 KB figure as reported, pas officially confirmed.
  • WhatsApp is reported to silently drop the preview image pour grand fichiers — commonly cited autour ~300 KB, même though a plus élevé (~600 KB) “official-sounding” WhatsApp number aussi floats autour. Soit façon, a heavy image is the échec mode.
  • Discord and iMessage inherit Ouvrir Graph with aucun separately documented image specs — construire to the 1200×630 par défaut and ils follow.

The honest takeaway: plutôt que chasing the tightest documented number, target sous ~1 MB — ideally 100–300 KB — and vous clair every platform’s ceiling with margin.

The absolute-URL rule — a réel, silent échec mode

Ce un is stated as fact everywhere but rarely explained. og:image and twitter:image doit be an absolute https://... URL. A relative chemin comme /images/share.jpg isn’t rejected with a visible error — it’s simplement silently ignored. The raison: a navigateur resolves a relative chemin contre lune page’s propre URL parce que it déjà knows ce que page it’s on, but a social robot d’exploration fetching votre tag has aucun tel base context and won’t reliably reconstruct votre domain. So it skips the tag and falls back to whatever sinon it peut scrape. Si votre image “isn’t showing” and the chemin in votre source starts with a / au lieu de https://, that’s votre bug.

Un image, two masters: Google’s 2026 thumbnail spec

Here’s the freshest and least-covered angle. As of March 2, 2026, Google documents og:image as un of two accepted metadata sources (alongside schema.org primaryImageOfPage) pour selecting its propre thumbnails in Search and Découvrir — Google’s propre docs décrire ces two surfaces specifically and don’t extend the claim to AI Overviews or autre AI surfaces, so I won’t soit. Que signifie the même image fichier now souvent has to satisfy les deux the social platforms and Google’s text-result/Découvrir thumbnails — and leur specs aren’t the même shape.

Google’s image guidance (Découvrir and Image SEO docs):

  • Dimensions: “at least 1200 px wide.”
  • Aspect ratio: a 16:9 ratio — pas the social world’s 1,91:1.
  • Resolution: “more than 300,000 total pixels” (a 1280×720 image is 921 600 pixels and clears ce comfortably).
  • Content: éviter “a generic image (Par exemple, votre site logo) or an image with text,” and avoid “an extreme aspect ratio.”
  • Eligibility prerequisite: to obtenir the grand thumbnail treatment in Découvrir at tout vous besoin max-image-preview:large (a robots meta directive) or AMP — a separate lever from the image fichier, covered in the robots meta tag topic.

The nuance to flag plutôt que hand-wave: a 1200×630 (1,91:1) social image is 630px tall, so it’s 756 000 total pixels — it clears Google’s ≥1200px-wide and ≥300K-pixel bars fine — but 1,91:1 is pas 16:9. En pratique un well-built image satisfies les deux, but si vous vouloir to optimize chaque independently vous pouvez supply a separate primaryImageOfPage in schema pour Google pendant que keeping the 1,91:1 crop pour social. Soit façon, the “no logo, no text-heavy image” advice is bon pour social CTR aussi — a logo doesn’t differentiate un shared lien from un autre.

Manquant vs. broken — two différent échec modes

Personnes conflate ces, and ils behave differently:

  • The og:image tag is absent. Platforms fall back to a scraped in-body image or a generic par défaut. Vous obtenir an uncontrolled preview, rarely a truly blank un. (Ce is the tag-missing cas handled in the Ouvrir Graph sibling.)
  • The og:image tag is présent but the image fails — a 404, an oversized fichier silently dropped, a incorrect MIME type, or une URL blocked by auth or robots.txt. Behavior ici is moins forgiving: several platforms montrer aucun image at tout plutôt que falling back plus loin, parce que ils déjà “know” vous specified un. Ce is the cas unique to ce article, so it’s worth stating plainly: a broken image référence peut render a worse card que aucun référence at tout.

And the render-vs-crawl gotcha underneath les deux: la plupart social bots don’t run JavaScript, so si votre tag is injected client-side it won’t be seen. As I put it in my Ahrefs JavaScript SEO guide, “Social media bots don’t run JavaScript, so choses comme OG tags won’t be seen unless vous render le contenu avant serving it to les.” Server-render the tag, or the image jamais had a chance.

Format prise en charge

  • JPEG/JPG and PNG are universally pris en charge — safe everywhere.
  • WebP is pris en charge by la plupart modern consumers (Meta listes it explicitly), but I’d garder a JPEG/PNG fallback pour anything vous pouvez’t tester.
  • Animated GIF/WebP are unreliable pour a encore preview card — la plupart platforms grab a unique frame or ignore the animation. Don’t rely on motion in a share image.

Mise en cache — the dernier mile

Fixing an oversized or broken image doesn’t propagate to liens personnes déjà shared jusqu’à vous force a re-scrape: the Facebook Sharing Debugger and LinkedIn Post Inspector re-fetch votre page and refresh leur mis en cache preview. Ce is the centerpiece of the Ouvrir Graph sibling, so I’ll leave it at un line ici: edit the image, alors re-scrape, or the old un lingers.

Où ce fits

Ce is a deep dive sous the Meta Tags pour le SEO hub, sitting correct suivant to the two tag-syntax siblings — Ouvrir Graph and Twitter Cards — que ce article extends. It aussi brushes the separate image SEO cluster (qui covers fichier formats, alt text, and image indexation in general): the difference is que image SEO is à propos de the pictures à l’intérieur votre content, pendant que ce is à propos de the un metadata image que represents the whole page in a share card and, now, a Google thumbnail.

Add an expert note

Pin an expert quote

New person? Create their unclaimed profile at /admin/experts/ → Pin a quote first.