You share a link to a new article and the preview shows your logo, an old picture, a random icon from the sidebar, or nothing at all. It is one of the most common publishing problems, and it is almost always caused by the page's Open Graph tags or by a cached preview.

How platforms choose a preview image

When a link is shared, Facebook, LinkedIn, X, WhatsApp, Slack and Discord fetch the page and read the meta tags in its <head>. The image comes from the og:image tag. If that tag is missing or unusable, the platform either guesses from other images on the page or shows no image.

Platforms then cache the result. The next time anyone shares the same link, they reuse the stored preview instead of fetching the page again. That caching explains most cases where a fix seems not to work.

The five common causes

ProblemSymptomFix
No og:image tagRandom image or noneAdd the tag to every page
Relative image URLNo imageUse a full https URL
Image too smallTiny thumbnailUse at least 1200 x 630
File too large or slowNo image on WhatsAppKeep under about 300 KB
Old cached previewPrevious image keeps showingRefresh the platform cache

Work through them in this order. The first three are fixed on your website. The last one is fixed on the platform.

Step 1: check the og:image tag

Open the page in a browser, view the source, and search for og:image. You should find something like this:

<meta property="og:image" content="https://example.com/images/article-share.jpg">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta name="twitter:card" content="summary_large_image">

If there is no og:image, your CMS or SEO plugin is not adding it. In WordPress, Yoast and Rank Math both add og:image from the featured image, so setting a featured image on the post usually solves it.

If there is more than one og:image tag, platforms often use the first one. Remove duplicates, which commonly come from a theme and a plugin both adding tags.

Step 2: check the image URL

The image URL must be:

  1. Absolute, starting with https. A path like /images/share.jpg is ignored by several platforms.
  2. Public. It must open without a login, and robots.txt must not block it.
  3. Direct. Avoid long redirect chains. Some crawlers give up after a redirect or two.

Paste the image URL into a private browser window. If it does not open straight away as an image, the platforms cannot load it either.

Step 3: check the size and file weight

Images below 600 x 315 pixels appear as small thumbnails on Facebook and LinkedIn, and X shows small images as a square card. Use 1200 x 630 pixels for a large preview everywhere.

File weight matters as well. WhatsApp in particular skips the large preview for heavy images. Keep the file under about 300 KB as a JPG. The Open Graph image resizer crops to 1200 x 630 and compresses under 300 KB in one step.

Make a 1200 x 630 preview under 300 KB1200 x 630, free, runs in your browserOpen tool

Step 4: clear the cached preview

Once the page is correct, tell each platform to fetch it again:

PlatformHow to refresh
Facebook and MessengerSharing Debugger, then Scrape Again
LinkedInPost Inspector, enter the URL
XPost the link in a new draft, the card updates within minutes
WhatsAppNo refresh tool. Add a query string, such as ?v=2, to the shared link
Slack and DiscordUsually refresh within a day. A query string forces it sooner

The most reliable way to force every platform to update is to change the image file name, for example from share.jpg to share-v2.jpg. A new URL cannot be served from an old cache.

Home pages, category pages and tool pages often have no obvious featured image, which is why they so often share with a logo or a random icon. Give each of them a dedicated share image. A simple, branded design at 1200 x 630 with the page's name and one supporting visual works well, and it can be reused for months. Set it as the default og:image in your SEO plugin or site template, so any page without its own image still shares with something deliberate rather than whatever the crawler happens to find.

Platform debugging tools

Each major platform has its own tool for checking and refreshing a link preview. Bookmark these, since they are the quickest way to see what the platform actually reads from your page.

PlatformToolWhat it does
FacebookSharing DebuggerShows the tags Facebook sees and refreshes its cache
LinkedInPost InspectorShows the preview and refreshes it for new posts
XNo public validatorPost the link in a draft, or check the tags directly
DiscordNoneChange the URL slightly to force a new fetch
SlackNoneCached previews expire, or add a query string to the URL

On Facebook and LinkedIn, run the URL through the tool after every fix. If the tool shows the right image but your post still shows the old one, the post itself has kept the old preview. Delete the draft and paste the link again.

Fixing previews on WordPress

Most WordPress sites get their Open Graph tags from an SEO plugin. When the preview is wrong, the cause is often in the plugin settings rather than the page itself.

  1. Open the post and scroll to the SEO plugin's panel. Look for a social or sharing tab.
  2. Check whether a custom social image is set. If not, the plugin uses the featured image.
  3. Make sure only one plugin is adding Open Graph tags. Two plugins can output conflicting tags, and platforms may pick the wrong one.
  4. Clear your caching plugin and any CDN cache after making changes.
  5. Re-run the URL through the Sharing Debugger.
Symptom on WordPressLikely cause
Old image keeps appearingPage cache or platform cache
Site logo appears insteadNo featured image set
Random image from the page appearsog:image tag missing
Two different images in testsTwo plugins adding tags

Fixing previews on Shopify, Squarespace and Wix

Hosted platforms generate Open Graph tags automatically, usually from the page's main image or a social sharing image set in the page settings.

  • Shopify. Product pages use the first product image. For other pages, set a social sharing image in the theme settings or the page's search engine listing preview.
  • Squarespace. Each page has a social image option in its settings. A site-wide fallback can be set in the marketing or sharing settings.
  • Wix. Open the page's SEO settings and set a social share image for each page.

In all three, upload an image already at 1200 x 630 so the platform does not crop it in unexpected ways. The Open Graph image resizer prepares one in a few seconds.

When the image is blocked

Sometimes the tag is correct, the image exists and the preview still fails. In that case, the platform may be blocked from fetching the image. Common causes include:

  • A firewall or bot protection service blocking crawlers from Facebook, LinkedIn or X.
  • Hotlink protection that only allows images to load on your own domain.
  • A login wall or a staging password on the site.
  • A robots.txt rule blocking the image folder.

Test by opening the image URL in a private browser window. If it does not load there, platforms cannot load it either. If it does load, check your security settings for rules that treat crawlers as suspicious traffic, and allow the major social platforms' crawlers.

Previews in messaging apps

WhatsApp, Telegram and iMessage generate previews too, and they are stricter about file size than social networks. A preview image over about 300 KB may not show in WhatsApp at all. Keep Open Graph images well compressed, and use JPG or WebP rather than PNG, so they work in messaging apps as well. The compress image to 100 KB tool brings a 1200 x 630 image comfortably under that limit.

A final check after any fix

After fixing the tags and refreshing the caches, share the link once in a private place, such as a message to yourself, before posting it publicly. That confirms the preview is correct for real users and not only in the debugging tools.

Make this the last step every time you change a page's image, so a broken preview never reaches your followers.

Preventing the problem on future posts

  1. Give every post a featured image at 1200 x 630 before publishing.
  2. Make sure your SEO plugin outputs og:image, og:image:width, og:image:height and twitter:card.
  3. Publish first, then test the URL in the Facebook Sharing Debugger before sharing it widely.
  4. If you change the image after sharing, change its file name as well.

For a complete set of sizes per platform, see our social media image sizes category. With these checks built into your publishing routine, the preview your audience sees will always match the image you chose.

Frequently asked questions

Why does Facebook show the wrong image for my link?

Facebook uses the og:image tag. If it is missing, Facebook guesses from images on the page. If you changed it recently, Facebook may still show the cached version until you use Scrape Again in the Sharing Debugger.

How do I refresh a link preview on LinkedIn?

Paste the URL into LinkedIn's Post Inspector. It fetches the page again and updates the preview for future shares.

Why is there no image when I share my link on WhatsApp?

The og:image may be missing, too large in file size, or on an http rather than https URL. Keep the image under about 300 KB and use an absolute https link.

Do I need separate Twitter card tags?

X reads og:image, but you should add twitter:card set to summary_large_image so it shows the large preview instead of a small square.