All posts

Why your link preview looks broken on X (and how to fix it)

No image, the wrong title, or just a bare link? Here's how X builds link cards, the five tags that control them, and how to make X pick up your fix.

Nanom · Nov 24, 2026 · 2 min read

NanomWhy your link preview looks broken on X (and how to fix it)

You share a link on X and instead of a big, clickable card you get a bare URL, a tiny thumbnail, or last month's image. It's almost always one of a handful of fixable problems.

How X builds a card

When a link is posted, X's crawler visits the page and reads a few tags in its <head>. It looks for twitter: tags first and falls back to Open Graph (og:) tags, the same ones LinkedIn, Facebook and Slack use. No tags, no card.

The minimum for a large image card:

<meta name="twitter:card" content="summary_large_image" />
<meta property="og:title" content="Your page title" />
<meta property="og:description" content="One or two sentences about the page." />
<meta property="og:image" content="https://yoursite.com/share.png" />

The five usual suspects

1. No twitter:card tag. Without it, X may show a small card or none at all. Set it to summary_large_image for the big image layout.

2. A relative image address. /share.png works in a browser but not for every crawler. Always use a full https:// address.

3. The image can't be loaded. It's behind a login, blocked for bots, too big (over 5 MB), or in a format X doesn't support. Use JPG, PNG, WEBP or GIF.

4. The wrong shape. Large cards are cropped to about 1.91:1. A square logo becomes a blurry strip. Use 1200×630.

5. The page blocks X's crawler. Some firewalls and "bot protection" settings block X's crawler (Twitterbot). Allow it, or the card can never be built.

Check before you post

X removed the preview from its own card validator, so the easiest way to see your card first is to run the link through our X card validator. It shows the card as X will show it and lists anything missing or broken.

Fixed it, but X still shows the old card?

X caches cards for about a week. Your fix is live, but posts that already used the link keep the old card. Share it in a new post, or add a harmless query to the link (like ?v=2) so X fetches the page again.

Bonus: let your page do it for you

Every creator page and X Article page on Nanom comes with its own share image and the right tags, so links to your writing always show a proper card.

Frequently asked questions

What image size works best for X cards?

1200×630 pixels, under 5 MB, as JPG, PNG, WEBP or GIF. That fits X's large card shape (about 1.91:1) and works on LinkedIn, Facebook and Slack too.

Do I need twitter: tags if I already have Open Graph tags?

Only twitter:card. X reads og:title, og:description and og:image when the twitter: versions are missing, but it needs twitter:card to know which layout to use.

How long does X take to update a card?

X caches a link's card for about a week. New posts pick up your changes sooner if you add a small query to the link, like ?v=2.

Keep reading

All posts

Your next Article deserves more readers.

Put your X Articles where anyone can read them. We hold your handle free for 14 days.

Enter your X handle to check if your page is free.