← All guides

Platform Guide

iMessage Link Preview Not Showing: What Messages Reads and Why It Goes Wrong

How Messages builds a rich link from your page's Open Graph tags, why a preview shows only an icon or nothing, what Apple documents about images and video, and how to test a fix.

Messages shows the icon and ignores the image

Symptom

The card shows your logo or favicon where you expected the page's picture.

Cause

Apple states the rule in the tech talk: "We don't show the icon if we have an image." And the other direction: "there are times when we'll fall back to the icon, for example, in cases of poor network connectivity." So an icon in the place of a picture means Messages had no usable og:image when it built the card. Two things to rule out: the image tag is not in the served HTML, or the image did not download in time.

There is a second, editorial cause. Apple's advice is to use og:image only for interesting images specific to the page, and that generic fallback images, "like your company's logo or a user's avatar", should be icons instead. If your og:image is your logo on every page, Apple is telling you it belongs in the icon slot.

Fix

Serve a page-specific image in og:image, and keep the icon too. Apple says to specify an icon even when you have an image, because of the fallback case:

<title>Spring pricing update | Acme</title>
<meta property="og:title" content="Spring pricing update" />
<meta property="og:image" content="https://your-site.com/og/spring-pricing-v2.png" />
<link rel="icon" href="/icon.png" />

Detected by

image_shared in the site audit flags one card shared across the templates of a site, which is the case where every link looks the same. Whether a given image is "specific to the page" is a design call that no checker makes for you.

What image works in Messages

What Apple says

Apple's guidance on the image is about content, not dimensions:

  • Use "interesting images that are specific to the particular page".
  • "Images should not include text." Apple's reason: "Rich links are presented at many sizes, across many devices. The same image will be shown all the way from Apple Watch to iPad Pro, and text in an image will not scale well across all of those."
  • Keep icon, image and video within 10 MB together, and smaller is faster: "the smaller they are, the faster the link will appear".

I did not find a required pixel size, aspect ratio or format list in the pages I read, and the tech talk says nothing about them. Anything you read stating that Messages requires 1200 x 630, or a minimum width, is not from Apple's documentation. It is the size that works across other platforms.

What to do with that

The practical consequence of Apple's text rule is the part that surprises design teams. A card built as a headline on a coloured background, which is what most generated OG images are, goes against Apple's advice for Messages, because the card is scaled to very different sizes. The headline is already in the title line under the picture. Where one image has to serve every platform, keep the type large and short, keep it away from the edges, and look at it at a small size before you ship.

For files, use PNG or JPEG at 1200 x 630. That is not an Apple requirement. It is the size other platforms ask for, and one card for all of them is easier to maintain than several. Keep the file small: the audit warns above 500 KB, and a flat card is usually far below that.

Video

For inline video, Apple's talk says the only addition is og:video, pointing at "a small, downloadable video file of any format that iOS and macOS can natively play". If the video has audio, "it starts out muted but with the option to unmute it". If you cannot host a file, Apple says you can point og:video at a YouTube embed URL, which will not autoplay, and that this is specific to YouTube: "other embedded players will not work". Embedded video that needs HTML or plug-ins is not supported. The 10 MB limit applies to the video as well.

<meta property="og:video" content="https://your-site.com/media/demo.mp4" />

Keep og:image next to it, and an icon: both are the fallbacks when media does not load.

Detected by

The checker's Dimensions check scores size and ratio against 1200 x 630, and the audit reports image_undersized (info) for a card narrower than 1200 pixels and image_oversized (warning) for one over 500 KB. Both thresholds are properOG's. Apple documents neither.

Why a changed card does not appear

Symptom

You updated the title or the image, the page serves the new tags, and Messages still shows the old card, on your phone, on someone else's, or both.

What is documented

Apple's LinkPresentation reference tells app developers to cache what they fetch: for remote URLs, "cache the metadata locally to avoid the data and performance cost of fetching it from the internet every time you present it". WWDC19 session 262 says the same: "You should cache retrieved metadata locally as much as possible." That is guidance for apps. It tells you that systems built on this API work from stored metadata, but it does not say how long Messages keeps a card, where the copy lives, or what invalidates it. I found no Apple page that gives a lifetime or a way to clear one.

Some write-ups say Apple caches previews on its own servers with no way to clear them. I could not confirm that from Apple's documentation, and Apple's description of share-to-Messages is that metadata "passes directly through" from the sending device. Do not plan around either claim.

What to check before blaming a cache

  1. What does Apple's fetcher actually receive? In the forum case above, the developer assumed a stale cache for months. The Apple engineer found the site itself serving the old tags to Apple's user agent, inside a fallback page. Fix this first, because it looks exactly like caching.
  2. Is the old image still at the same URL? If you overwrote /og.png in place, anything stored by URL has no reason to change. Publish a changed card at a new URL, such as /og/spring-pricing-v2.png, and point og:image at it. That is a good rule on every platform, and it costs nothing here.
  3. Is your CDN or edge cache serving the old HTML? A page cached for a day keeps serving yesterday's tags, to Apple's fetcher as to everyone. Purge the page, then read the tags with the curl command above.
  4. Is it a message already sent? A message that has been sent carries the card it was sent with. Test a change by sending the link in a new message.

How to test a refresh

Send the URL to yourself in Messages as a new message, after the new tags are live and at a new image URL. If the old card still comes back, send the same page with a throwaway query string, for example ?v=2, and see whether the new card appears. If it does, the old card was held per URL and your fix works. Do not keep query strings as a standing practice: they split analytics and can split canonicals. Apple documents no supported way to force a refresh, so when the tags are right and the card is still old, a new URL or a wait is what remains.

Detected by

properOG cannot see what is stored on a phone. image_uncacheable in the site audit reports the opposite problem, a card whose response forbids caching, which makes every fetch slower and every cold fetch a risk.

The checklist for a card that works in Messages

  1. Tags in the served HTML. og:title, og:image and an icon link in the head of the raw response. No script puts them there, because none will be run.
  2. A page-specific image at a stable, public URL that returns 200 without a login, a cookie or an expiring signature.
  3. Little or no text in the image. The title carries the words.
  4. An icon as well as an image. It is the fallback when the image does not load.
  5. A fast page and a fast card. Cached, small, and not rendered from scratch for each fetch.
  6. The same answer for every user agent. No fallback page, challenge or redirect for a client that does not look like a desktop browser.
  7. A new URL for a changed card.
  8. Under 10 MB for icon, image and video combined, and far below that in practice.

Most of this list also helps on Slack, Discord and WhatsApp, for the same reasons. Where platforms differ is mostly in how they cache, which is why the Facebook guide spends most of its length on that.

Verify your fix

Check the page. The checker reads the same tags and scores the card's dimensions, file size, format and presence. Enter the page you fixed, or check this guide's own card as an example. It draws an iMessage-style preview from your tags, and its "WhatsApp / iMessage" fit row warns when the image's text will shrink at messaging sizes. The preview is a model of the layout, not a capture of Messages, so use it to find a wrong or missing tag and use a real message for the final look.

Check the site. One page is rarely the only broken one. The site audit reads your sitemap, groups URLs into templates, samples across them and reports image_missing, image_broken, image_shared, image_oversized, image_undersized and image_uncacheable, each with a fix.

Check Messages itself. Apple provides no web debugger for Messages that I could find. The test is to send the link: to yourself, as a new message, on an iPhone or Mac signed in to iMessage, after the tags are live and the image is at a new URL. If the card is wrong while the checker reads your tags correctly, go back to the two causes Apple's own pages name: tags that only a script writes, and a different answer for Apple's user agent.

If the tags themselves are wrong, fix them at the source: the Next.js guide covers how that framework produces them, the WordPress and Shopify guides cover those platforms, and the Facebook guide covers a platform that does document its cache.

Frequently Asked Questions

Why is my iMessage link preview not showing an image?

Messages builds the card from og:image in the served HTML and does not run JavaScript, so tags written by a script are never seen. Other causes: the image URL does not load, the server returns a different page to Apple's fetcher, or the fetch timed out. Apple says it falls back to the icon when the image is not available.

What size should an iMessage link preview image be?

Apple's documentation does not set a pixel size or ratio. It asks for an image specific to the page, with no text in it, and caps icon, image and video at 10 MB together. 1200 x 630 is the common size across platforms and works here, but that comes from other platforms, not from Apple.

How do I clear the iMessage link preview cache?

Apple documents no way to clear it and gives no cache lifetime. First rule out your own server: Apple staff have traced a stale preview to a site returning an old fallback page to the user agent Messages uses. Then publish a changed image at a new URL and send the link in a new message.

Does iMessage use og:description?

Apple's tech talk on rich links names the title, icon, image and video, and does not mention a description. Write one for other platforms and search results, but do not expect Messages to show it.

Can an iMessage link preview play video?

Yes. Point og:video at a small downloadable video file that iOS and macOS can play natively, or at a YouTube embed URL. Audio starts muted. Other embedded players are not supported, and video counts toward the 10 MB total.

Audit your site

Sample pages across every template in your sitemap and see which ones ship the wrong card, or none. Free, no account needed.

Related guides