Skip to content

Link previews

OG image not showing: a cross-network fix list

By Hannah Voss, Editor · Reviewed September 2026 · Updated · 8 min read

Quick answer

When a link preview shows no image, the crawler either never found a usable og:image URL or could not fetch the file. Check 8 things in order: absolute URL, https, crawler access, file size, pixel size, content type, redirects and hotlink rules, then clear each network's cache.

A cut-paper link preview card with a grey landscape panel, two blank text bars and a small embossed seal in one corner

Is the image missing, or just wrong?

This page is for a card with no picture at all: a grey box, a white area, a text-only card, or a tiny square where a wide image should be. If the card shows a picture but it is the wrong one, such as your logo or last month's banner, that is a different fault with a different fix. Use the wrong image and old text fix list for that case.

Every network that builds a link preview does two fetches. First it reads your page and looks for the og:image tag. Then it fetches the file at that address. A missing image means one of those two fetches failed, or the file arrived but did not meet the network's rules. The causes below follow that order. For the wider picture of how previews are built, start at the Open Graph and link previews hub.

Where a preview image can fail01Read pagefind og:image02Resolve URLabsolute, https03Fetch filenot blocked04Check filesize, type05Cache cardper network
A missing image is a failure at one of these five points; work left to right.

Diagnose it in order

  1. View the source, not the page

    Open the URL in a private window, press Ctrl+U (Cmd+Option+U on a Mac) and search for og:image. You want exactly one line, with a full https address.

  2. Open the image address on its own

    Copy the content value into a new private window. If it does not load there, no crawler will load it either.

  3. Fetch as a crawler

    Request the page with Meta's user agent, facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php), which Meta's webmasters guide gives for this test. A challenge page or a 403 means a security rule is in the way.

  4. Check the file

    Note the pixel size, file size and format. Compare them with the table further down.

  5. Ask the network

    Paste the URL into Facebook's Sharing Debugger at developers.facebook.com/tools/debug/, press Debug, and read the warnings. Fix, purge your cache, then press Scrape Again.

  6. Repeat on the next network

    LinkedIn keeps its own cache, so run its inspector too once Facebook is clean.

The Facebook side of that loop is covered step by step in our Sharing Debugger walkthrough, and the LinkedIn side in the Post Inspector guide. For a draft that is not public yet, paste the page HTML into our in-browser link preview checker; it reads the tags without fetching anything, so it catches tag problems but not blocked files.

Is the og:image URL relative or malformed?

A relative path such as /uploads/card.jpg works in your own img tags but not in a meta tag read by another company's server. Meta's link sharing FAQ says all URLs must be absolute so it can attribute shares and cache images properly. The Open Graph protocol itself describes og:image as an image URL, and every example on ogp.me is a full address.

Look for these in the content value: a missing scheme, spaces in the filename, a query string your CDN strips, or a theme placeholder that never got replaced. A protocol-relative address starting with // is a grey area. LinkedIn's help page shows that form in its own example, but other networks may not resolve it, so write the full https address and remove the doubt.

Does http versus https matter?

Yes, in two ways. First, if your site moved to https and the tag still says http, the request may hit a redirect or a dead old host. Second, ogp.me defines og:image:secure_url as an alternate address to use when the page requires https, which tells you consumers treat the two separately. Meta's webmasters guide also lists og:image:secure_url as the https URL for the image. The simplest setup is one og:image with an https address that loads directly, and a matching secure_url only if a plugin adds it for you.

Is the crawler blocked from the page or the file?

Security tools that challenge unknown visitors often catch link preview crawlers. The preview then has your challenge page's title and no image, or no card at all. LinkedIn's help page on shareable websites says that if an image meets its requirements but still does not appear, your website may be blocking LinkedIn from pulling it, or the image may sit in a protected directory.

Check three places: your firewall or bot rules, any login or password protection on the uploads folder, and robots rules that disallow the image path. Hotlink protection belongs here too. It blocks requests whose referrer is not your own site, and a crawler fetching your image directly usually sends no referrer from your domain, so the file is refused. Exempt your preview image folder, or turn hotlink protection off for image types used in og:image.

Is the image too large, too small or the wrong type?

Each network publishes different limits, and some publish none. These are the ones documented on the pages fetched for this guide, checked November 2026.

NetworkDocumented ruleWhat happens if you miss it
FacebookNo bigger than 8 MB, served in under a few secondsImage renders as a white area or not at all (Meta FAQ)
FacebookSmaller than 600 by 315 but larger than 200 by 200Small square image instead of a wide card (Meta FAQ)
Facebookog:image:type is one of image/jpeg, image/gif or image/pngMeta's guide lists only those three types
LinkedInMax file size 5 MB, minimum 1200 by 627, ratio 1.91:1Image may not appear (LinkedIn Help)
LinkedInImages less than 401 pixels wideShown as a thumbnail (LinkedIn Help)
Other networksOften undocumentedStay inside the strictest rule above

A 1200 by 630 JPEG or PNG well under 5 MB sits inside every documented rule above. Sizing and the safe crop area are covered in the 1200 by 630 image guide. WebP and AVIF are the usual trap: they look fine in a browser, but Meta's list of image types does not include them, so serve a JPEG or PNG for the preview image even if the page itself uses modern formats.

Also check the Content-Type header your server sends with the file. An image served as text/html or application/octet-stream, which happens with some CDN rewrite rules and image optimizers, may be rejected even though the bytes are a valid JPEG.

Are redirects or a CDN swapping the file?

The networks fetched for this guide do not document how many redirects their crawlers follow for an image URL. Do not rely on it. Point og:image at the final address that returns the file directly with a 200 response, not at a short link, an old upload path that forwards, or an image optimizer URL that redirects on first request.

Image optimizers and lazy-load plugins cause a related fault: the page source carries a placeholder or a data URI in og:image instead of the real file. View the source as a crawler would, not the rendered page in developer tools, and confirm the tag holds a real image address.

Is the network still showing a cached empty card?

Once a network has stored a card with no image, fixing your page does not change it until the network fetches again. Meta's guide to sharing for webmasters says images are cached based on the URL and will not update unless the URL changes, and that adding og:image:width and og:image:height helps the image load the first time it is shared. The FAQ adds that images are cached asynchronously, so the very first share can appear without a picture.

So after any fix: purge your own page cache, upload the corrected image under a new filename, update the tag, and ask each network to fetch again with its own tool. A WordPress setup that prints one clean set of tags makes this far easier; see adding Open Graph tags in WordPress.

What goes wrong

  • Testing the rendered page. Developer tools show the DOM after scripts run. Crawlers read the raw HTML, so check the source.
  • Fixing the image under the same filename. The network keeps its cached copy. Use a new name.
  • Exempting the page but not the file. The firewall lets the crawler read your HTML, then blocks the image request on the uploads path.
  • A WebP preview image. Fine in browsers, outside Meta's listed types.
  • Two og:image tags, one broken. The network may pick the broken one. Remove the duplicate source.
  • Deleting the old image. Meta's FAQ warns that existing shares then show a white area.

Check it worked

  • The page source has one og:image line with a full https address.
  • That address opens the image in a private window with no login and no redirect.
  • A request with the facebookexternalhit user agent returns your page, not a challenge.
  • The file is JPEG or PNG, under 5 MB, and at least 1200 by 627 pixels.
  • The Sharing Debugger shows no image warning after Scrape Again, and the preview has the wide card.
  • LinkedIn's inspector shows the same image after its own refresh.

Sources

Questions

Why does my image show on Facebook but not on LinkedIn?

The two networks have different rules and separate caches. LinkedIn documents a 5 MB maximum and a 1200 by 627 minimum, while Facebook accepts up to 8 MB. Check the file against LinkedIn's limits, then refresh it in LinkedIn's own inspector.

Can og:image be a relative URL?

No. Meta's FAQ says all URLs must be absolute, and every example on ogp.me is a full address. Write the complete https URL, including the domain, so any network can fetch the file without guessing your site's base address.

Does hotlink protection stop link previews?

It can. Hotlink protection refuses image requests that do not come with your own site as the referrer, and a crawler fetching the file directly does not. Exempt the folder that holds your preview images, or disable the rule for them.

Why is the first share missing the image but later shares are fine?

Meta's FAQ says images are cached asynchronously, so the first share can render before the image is ready. Adding og:image:width and og:image:height, or running the URL through the Sharing Debugger before you post, avoids it.

Can I use a WebP image for og:image?

It is risky. Meta's webmasters guide lists only image/jpeg, image/gif and image/png for og:image:type. Serve a JPEG or PNG as the preview image even if the rest of your page uses WebP or AVIF.

Share this guide

Hannah Voss, Editor. Checks every guide against a working WordPress install and the networks' current documentation. Last reviewed September 2026.

  1. Facebook showing the wrong image or share textFix Facebook showing the wrong image or text when you share a WordPress post: duplicate tags, small images, cache, blocked crawlers, and the Sharing Debugger.7 min read
  2. Open Graph image size: 1200 by 630 and the safe zoneThe right Open Graph image size is 1200 by 630 pixels at a 1.91:1 ratio. Minimums, file limits, formats, and a centre safe zone for square crops.6 min read
  3. How to use the Facebook Sharing DebuggerUse Meta's Sharing Debugger to see the tags Facebook scraped, read each warning, force a fresh scrape, and refresh many URLs or call the Graph API instead.9 min read
  4. How to use the LinkedIn Post InspectorUse the LinkedIn Post Inspector to see the title, image and description LinkedIn reads from your page, request a fresh scrape, and fix a stale preview.9 min read
  5. Link preview checker: test your Open Graph and card tagsPaste a page's HTML to check its Open Graph and X card tags, see mock previews, and find duplicate, missing or relative tags. Runs in your browser only.10 min read