You paste a link to your new article into a team chat or a LinkedIn post and the preview card is wrong. The image is last year's banner, or a random icon from the footer, or there is no image at all. Sometimes the title is the site name instead of the article headline.
This is one of the most common problems with sharing links, and it almost always has one of a handful of causes. This guide explains how apps build link previews, how to see what a preview will look like before you share, and how to fix the usual problems, including stale previews that refuse to update.
How link previews are built
When you paste a URL, the app's server fetches the page and reads a few tags from its <head>. Most apps use the Open Graph protocol, originally created by Facebook:
<meta property="og:title" content="How to Keep a Sourdough Starter Alive">
<meta property="og:description" content="Feeding ratios, fridge storage and warning signs.">
<meta property="og:image" content="https://www.example.com/img/starter-1200x630.jpg">
<meta property="og:url" content="https://www.example.com/blog/sourdough-starter-care">
If those tags are missing, apps fall back to other clues: the <title>, the meta description, or the first large image they can find. That fallback is where most "wrong image" problems come from.
The app then stores (caches) the preview. Later shares of the same URL often reuse the cached version rather than fetching the page again.
The usual causes and fixes
1. There is no og:image
Without one, apps guess. The fix is to add an og:image tag pointing at a purpose-made image, commonly 1200 × 630 pixels (a 1.91:1 ratio), which most platforms display well.
2. The image URL is relative
/img/card.jpg works in a browser but not in a preview crawler, which needs the full address: https://www.example.com/img/card.jpg.
3. The image cannot be fetched
Preview crawlers must be able to download the image. Common blockers include images behind a login, hotlink protection that rejects unknown visitors, robots.txt rules that block the image folder, and very large files. Keep preview images reasonably small (a few hundred kilobytes is plenty) and publicly accessible.
4. The preview is cached
You fixed the tags, but the old card still appears. Each platform refreshes on its own schedule. Facebook's Sharing Debugger and LinkedIn's Post Inspector let you ask them to fetch the page again. For other apps, adding a harmless query string (such as ?v=2) makes the URL look new, although that creates a different URL for analytics and caching.
5. The page renders its tags with JavaScript
Most preview crawlers do not run JavaScript. If your framework inserts meta tags only in the browser, crawlers see an empty head. Tags need to be in the HTML the server sends. View the page source (not the inspector) to check.
6. Several og:image tags
If a theme and a plugin both add tags, the first image in the source may win. Keep one set.
Preview a link with our tool
The Open Graph Preview draws approximate cards for several apps at once, so you can see problems before anyone shares the link.
- Open the Open Graph Preview.
- Fill in og:title, og:description and og:url. Length badges show how the title compares with about 60 characters and the description with about 160.
- Enter the og:image URL (1200 × 630 px recommended). The image loads directly from that address, just as it would for a visitor, so a broken or blocked URL will show up here.
- If the image is not online yet, press Preview a local image to try a file from your computer. Press Use URL instead to switch back.
- Add og:site_name.
- To check an existing page, expand Import tags from page HTML, paste the page's
<head>from View Source and press Import. The fields fill in from the tags it finds. - Review the cards for Facebook, LinkedIn, WhatsApp, Slack, Discord and X (large image), then copy the generated Open Graph tags into your page if you need them.
The layouts are close approximations; each app changes its design from time to time.
Other ways to check previews
Platform debuggers. Facebook's Sharing Debugger and LinkedIn's Post Inspector fetch your live page, show the tags they found and can refresh their cache. They are the definitive check for those platforms, but only work on public URLs and one platform at a time.
Send a test message. Pasting the link into a private chat with yourself shows the real preview for that app. Remember it may be cached after the first try.
Page source. Viewing the source and searching for og: is the quickest way to confirm the tags exist and are absolute. The Meta Tag Analyzer lists them in a table and flags missing ones.
Designing a good preview image
- Keep important content in the centre. Some apps crop to a square or a narrower ratio.
- Use large, simple text. Previews are small, especially on phones.
- Avoid tiny logos in corners. They are often cropped or unreadable.
- Match the page. An image unrelated to the article can look like clickbait.
You can generate a full set of tags with image dimensions, which helps some platforms render the first share faster, using the Open Graph Generator. For X-specific cards, see the Twitter Card Preview.
Frequently asked questions
Why does Facebook still show my old image?
Facebook caches previews. Run the URL through Facebook's Sharing Debugger and use its option to fetch the page again after you have fixed the tags.
What size should an Open Graph image be?
1200 × 630 pixels (1.91:1) is the most widely used size and displays well on most platforms. Check each platform's current guidance if you design for one in particular.
Why does WhatsApp show no preview?
Common reasons are a missing or relative og:image, an image that is too large or blocked, or tags added only by JavaScript. Fix the tags and try the link in a new chat.
Do link previews affect SEO?
Open Graph tags are not a search ranking factor. They affect how appealing your links look when shared, which influences clicks from social and messaging apps.
Can I set a different preview for each platform?
Most platforms read Open Graph tags, so one set covers them. X can use its own twitter: tags, which take priority there if present.