Preview image when the page is shared

How the scan checks that the page has an og:image tag with a value, what it does not test, and how to add a preview image for shared links.

What AuditX checks

The scan opens the page you scanned in a browser at desktop size (1440 by 900 pixels). If that fails it uses the phone size (390 by 844 pixels). It reads the content of the first meta tag whose property or name is og:image and that names an image, after the page scripts have run, and trims spaces. The check passes when such a tag is found. It warns when there is no og:image tag, and it warns with its own message when the tag is there but every og:image tag is empty, because then the fix is to fill in the tag, not to add one. It never fails. If the page could not be opened in a browser, the result is an info note, which does not lower the score, and it is not marked as not measured. It does not test that the address loads, how big the image is, or whether it is a good picture. It does not read twitter:image. Another check in the SEO group fetches the image and looks at its size. Because this check reads the page after scripts ran, a tag added by script counts here, even if a sharing site that does not run scripts would not see it.

Why it matters

When a link is pasted into a chat app or a social network, the site that shows the link often reads the Open Graph tags to build a preview card. The Open Graph protocol lists og:image as one of its four required properties.

Without the tag, most apps show the link without a picture, and some pick an image from the page themselves, which may not be the one you would choose. Either way your link looks less finished next to the others in a conversation or feed.

How to fix it

  1. Make one image for the page that shows your name and the point of the page, in a wide format. 1200 by 630 pixels is a common choice.
  2. Add a meta tag with property="og:image" to the head of the page, with the full https address of the image.
  3. Add og:image:alt with a short description of the image, so it is described for people who cannot see it.
  4. Make sure the tag is in the HTML your server sends, not added by script, because some sites that build previews do not run scripts.
<meta property="og:image" content="https://www.example.com/images/share.jpg">
<meta property="og:image:alt" content="Example Heating engineer repairing a boiler">

Does your site pass this check? A free scan runs it with every other check and shows the result in about a minute.

Scan my site

Sources

Related checks

Last reviewed 2026-11-13.