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.
How Messages builds a rich link
A link in Messages can turn into a card with a title, a picture and the domain, or stay a plain line of text. Which one you get depends on a small amount of metadata in the page and on whether the system could read it at the moment it tried.
Apple's tech talk "Ensuring Beautiful Rich Links" describes the mechanism from the website side. Its opening sentence: "By providing small amounts of metadata in your web pages, links to your website can include rich content such as icons, images and even video." The pieces:
- Title. Taken from
og:title. The talk says the browser still uses<title>for the window title, "but the rich link will use the 'og:title' instead". Apple's advice is to keep titles unique and informative, and not to repeat the site name in the title, "since the domain name is also provided on the second line of the link". - Icon. Apple says there are many ways to specify one, "from favicons to Apple touch icons", and that if your site has none, the way to add one is a
link rel="icon"tag in the head. For some pages, Apple says, that is all you need. - Image. Taken from
og:image, whose content is "just the URL of the image". - Video. Taken from
og:video.
Two rules from the same talk explain most of what follows. First: "JavaScript does not run when creating rich links, so the Open Graph tags need to be in the source of the page and cannot be generated dynamically." A client-rendered app that writes its tags after load has no tags as far as Messages is concerned. Second: the icon, image and video together "are limited to 10 megabytes".
Notice what is not on Apple's list. The talk names title, icon, image and video. It does not name og:description, and I found nothing in Apple's pages that says a description is shown, so write one for the other platforms but do not count on Messages displaying it.
Apple does not publish the full fetch behaviour of Messages. What it does publish is the LinkPresentation framework, which gets the same kind of metadata for apps. Its documentation says LPMetadataProvider retrieves "its title, icon, and image or video links", that "all properties on the resulting instance are optional", and that a fetch can fail if the user has no network connection or "if the server doesn't respond or is too slow". The default timeout in that API is 30 seconds. That is the framework's default, not a stated limit for Messages, but it makes the point that a slow page can lose the fetch.
The same documentation says that when a user shares a link from an app that already holds metadata, "if the user chooses to share to Messages, the same metadata passes directly through". So in that flow the metadata is fetched by a client on a device, not by a crawler that reads your page once for everyone. Apple's pages I read do not describe the path for a URL pasted straight into a conversation, so treat the details of that path as something to test, not as documented fact. The sections below say which parts are Apple's words and which are checks to run.
The preview shows only an icon, or only a plain link
Symptom
The link shows as text with no card, or as a small card with a favicon and the domain and no picture.
Cause and fix
Work through these in order.
There is no og:image in the served HTML. The talk's rule that JavaScript does not run is the usual cause on single-page apps. Read the tags from the raw response, not from the browser's inspector, which shows the page after scripts ran. This command fetches the page without running anything:
curl -s --compressed \
-A 'Mozilla/5.0 (iPhone; CPU iPhone OS 18_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Mobile/15E148 Safari/604.1' \
https://your-site.com/your-page \
| grep -oE '<(meta|link) [^>]*(og:|rel="icon")[^>]*>'
You want to see og:title, og:image and an icon link in that output. If they only appear in the inspector, move them into the server-rendered head.
The server answers Apple's fetcher differently. An Apple Frameworks Engineer, answering a developer whose old title and image would not update, wrote that the site "is returning a fallback page when fetched with the User Agent that Messages and Mail use to generate previews", a page saying the browser was not supported, "and also includes the _old_ OpenGraph metadata that you are seeing". His conclusion: "I believe if you fix this, you will get the metadata you expect." A bot filter, a browser-version gate, a firewall rule or a login redirect that treats unknown user agents differently produces exactly this. The curl command above uses a Safari-on-iPhone user agent as a starting point. It is not Apple's exact string, which I did not find published, so also look in your server logs for requests from Apple's fetcher and read what you answered.
The image URL does not load. A 404, a redirect to a login page or a host that rejects the request leaves the card without a picture. A developer in Apple's forums reported that an og:image pointing at a short-lived signed storage URL worked on other platforms and not in iMessage. That thread has no reply from Apple, so it proves nothing about signed URLs in general, but it is a reason to test an expiring or very long URL before relying on it. A plain, stable, public URL removes the question.
The fetch ran out of time. A page that takes seconds to answer, or a card that is rendered from scratch on each request, can lose a fetch that has a time limit, and the first request for a new card is the one most likely to be cold. Serve the card from a cache, and keep the page's own response fast.
The media is too heavy. Icon, image and video together are limited to 10 MB. A designed card is nowhere near that, but a photographic PNG exported at full resolution can be.
Detected by
The site audit reports image_missing (critical) for a page with no og:image in its served HTML, and image_broken for a declared card that does not resolve. When the audit cannot tell either way, it says image_unverified. The audit reads your pages as an ordinary client, so a response that only Apple's fetcher gets wrong, such as a bot-filter fallback page, is invisible to it. Test that case from your logs.
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
- 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.
- Is the old image still at the same URL? If you overwrote
/og.pngin 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 pointog:imageat it. That is a good rule on every platform, and it costs nothing here. - 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.
- 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
- Tags in the served HTML.
og:title,og:imageand an icon link in the head of the raw response. No script puts them there, because none will be run. - A page-specific image at a stable, public URL that returns 200 without a login, a cookie or an expiring signature.
- Little or no text in the image. The title carries the words.
- An icon as well as an image. It is the fallback when the image does not load.
- A fast page and a fast card. Cached, small, and not rendered from scratch for each fetch.
- The same answer for every user agent. No fallback page, challenge or redirect for a client that does not look like a desktop browser.
- A new URL for a changed card.
- 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