Skip to content

Why your blog links look wrong when shared, and how to fix the og:image

The og:image size that works on every network, the tags each one reads, and how to fix blog link previews on Facebook, LinkedIn, X, WhatsApp and Slack.

In this article

You publish a post, paste the link into LinkedIn, and the preview shows your logo stretched into a strip, or a random image from the sidebar, or nothing at all. The fix is almost always the same: get the og:image size right, put the right tags on the page, and make the networks read the page again. This post covers all three, plus the parts nobody mentions, like caching and the difference between a blog cover and a share image.

When someone shares a URL, the network's crawler fetches the page and reads a few tags in its <head>. These come from the Open Graph protocol, which Facebook introduced and almost everyone else adopted:

<meta property="og:title" content="Why your blog links look wrong when shared" />
<meta property="og:description" content="The image size and tags that fix it." />
<meta property="og:image" content="https://example.com/images/share/og-fix.png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:alt" content="A phone showing a link preview card" />
<meta name="twitter:card" content="summary_large_image" />

If og:image is missing, each network guesses. Facebook and LinkedIn may pick any image they find on the page, which is how a sidebar ad ends up representing your best article. Slack and WhatsApp may show no picture at all. So the first job is simple: every post needs an og:image, and it must be an absolute URL (starting with https://), because crawlers don't resolve relative paths the way browsers do.

X reads the same Open Graph tags but needs twitter:card set to summary_large_image to show a big picture instead of a small square thumbnail.

The og:image size that works everywhere

Use 1200 × 630 pixels. That's a ratio of about 1.91 to 1, and it's the size Facebook recommends and LinkedIn displays without awkward cropping. X's large card is a little wider (2 to 1), so it trims a sliver from the top and bottom, which is why you should keep important things away from the edges.

A few practical rules that save most of the trouble:

  • Keep text and logos in the middle 80%. Some apps crop to a square or round the corners. A headline that runs edge to edge gets clipped somewhere.
  • Keep the file small. A JPEG or PNG of a few hundred kilobytes loads quickly in chat apps. Very large files are sometimes skipped by WhatsApp and similar apps, which then show no picture.
  • Don't reuse a tall or square image. A portrait photo squeezed into a 1.91:1 frame gets cropped to a slice of someone's forehead.
  • Declare the width and height. The two og:image:width and og:image:height tags let a network lay out the card on the first share, instead of waiting until it has downloaded the image.
Network What it reads Shape it shows
Facebook og:image 1.91:1, cropped from the centre
LinkedIn og:image 1.91:1
X og:image with twitter:card 2:1 with summary_large_image
WhatsApp og:image Small square or wide card, depending on the chat
Slack og:image Wide card under the link

Your blog cover and your share image are different jobs

This is the part most guides skip. The cover image at the top of a post and the image in a link preview don't have to be the same file, and often shouldn't be.

On the blog, a plain, good photo works best. It sits under your headline, so it doesn't need to repeat it. In a social feed, the picture stands alone, next to dozens of others, and readers decide in a second whether to tap. There, an image with the post's headline, your logo and maybe your website address does much better, because it tells people what they'll get and who it's from.

Most platforms give you a separate field for this. WordPress SEO plugins such as Yoast and Rank Math have a "social image" setting per post, and Ghost has its own Facebook and X image fields. Without one, they fall back to the featured image.

In Quillfleet, each site has a brand kit: its logo, colours and the contact details you choose. Once it's saved, every post with a cover gets a branded 1200 × 630 share image drawn from that cover, while the blog keeps the plain photo. You can still set a share image by hand on any post, and that one always wins. Ghost uses the branded image automatically. A Next.js site uses it once its connector saves the post's share image field. WordPress and DEV keep showing the plain cover, though the branded images are still there to download. The social images guide has the details for each kind of site.

Why the old picture keeps showing up

You fixed the tags, you changed the image, and LinkedIn still shows the old one. That's caching, not a bug in your page.

Networks store a copy of each link's preview the first time anyone shares it, and they keep it for days or weeks. Changing the image on your site does nothing until the network fetches the page again. You can ask them to:

  1. Facebook: paste the URL into the Facebook Sharing Debugger and click Scrape Again. It also lists any tags it couldn't read.
  2. LinkedIn: paste the URL into the Post Inspector. Inspecting a URL refreshes LinkedIn's copy.
  3. X, Slack and WhatsApp: there's no public refresh tool. They update on their own schedule, usually within a few days. If you can't wait, sharing the URL with a harmless query string such as ?v=2 makes them treat it as a new link.

One more trap: if the image itself keeps the same URL after you change it, some networks keep the old picture even after they re-read the page. Give a new image a new file name, or a version in the URL.

Common mistakes, and how to spot each one

Most broken previews come down to a short list. Here's how to tell which one you've got.

The preview shows the wrong image. The page has no og:image, or has two. Themes and SEO plugins both like to add one, and the network takes the first. View the page source and search for og:image. There should be exactly one.

The preview has no image at all. The URL in og:image is relative, points to a page that needs a login, or returns an error. Open the image URL in a private window. If you can't see it there, crawlers can't either.

The image is cropped badly. It isn't close to 1.91:1, or the headline runs to the edges. Re-export at 1200 × 630 with a margin.

The title or description is wrong. The network is reading og:title and og:description, which may differ from your page title and meta description. Plugins often fill them separately. Our post on meta title and meta description length covers how to write both.

The preview is right on Facebook but wrong on X. twitter:card is missing or set to summary. Set it to summary_large_image.

A checklist to run before you share a post

Before you post the link anywhere, spend two minutes on this:

  • The page has one og:image, an absolute https:// URL, 1200 × 630.
  • The image's text and logo sit well inside the edges.
  • og:image:width, og:image:height and og:image:alt are set.
  • twitter:card is summary_large_image.
  • The Sharing Debugger shows the right title, description and picture.
  • If you changed anything, you clicked Scrape Again and inspected the URL on LinkedIn.

If you run several sites, check one post per site after any theme or plugin update. Updates are the most common reason a working preview quietly breaks, and you won't notice until someone shares a link and the picture is wrong. The share image field is one of several in the SEO fields guide, which shows which sites use each value.

Frequently asked questions

What is the best og:image size?

1200 × 630 pixels, a ratio of about 1.91 to 1. It displays well on Facebook, LinkedIn, X, WhatsApp and Slack. Keep the file to a few hundred kilobytes and keep text and logos away from the edges, since some apps crop a little.

Why does Facebook still show my old image?

Facebook caches each link's preview. Paste the URL into the Sharing Debugger and click Scrape Again to make it read the page and image again. If the new image has the same file name as the old one, rename it, because the cached image can stick even after the page is re-read.

Can the share image be different from the blog's cover image?

Yes, and often it should be. A plain photo suits the blog, where the headline sits above it. In a social feed the picture stands alone, so a version with the headline and your logo tells people what the post is and who it's from.

Do I need separate Twitter tags if I have Open Graph tags?

Mostly not. X reads og:title, og:description and og:image. You do need twitter:card set to summarylargeimage, or X shows a small square thumbnail instead of the wide picture.

Does the og:image affect search rankings?

Not directly. Google doesn't rank pages on their share image. It matters for clicks from social feeds and chat apps, and those visits are the ones a broken preview quietly loses.

Write it once. Let the fleet carry it.

Try Quillfleet free for 30 days on up to 5 sites and publish your next post to all of them at once. No credit card, no plugin, no migration.