What it is
og:image is a meta tag, <meta property="og:image" content="https://yourdomain.com/image.jpg">, that tells social platforms and messaging apps exactly which image to display in the preview card when your page's link gets shared. Unlike the title and description tags, there's usually no automatic fallback here worth relying on β without this tag, most platforms simply show a plain text preview with no image at all, which stands out as noticeably less inviting next to other shared links that do have one.
The image needs to be referenced by its full, direct web address (not a relative path), and hosted at a location that's publicly accessible without requiring login.
Why it matters
A shared link with a visual preview gets noticed and clicked meaningfully more than one that appears as bare text, simply because it takes up more visual space and reads as more substantial in a crowded social feed or chat thread. This is true across essentially every platform that generates link previews β the image is often the single biggest visual element in the whole preview card.
A missing og:image is also one of the more common social sharing gaps precisely because it's easy to set the title and description tags (which are just text) and forget that the image needs its own separate, correctly formatted tag entirely.
How to fix it
- Choose an image that represents the page well at a wide, roughly landscape aspect ratio (1200Γ630 pixels is a commonly recommended size).
- Upload the image somewhere on your own site so it has a stable, direct web address.
- Add
<meta property="og:image" content="https://yourdomain.com/path/to/image.jpg">to the page's<head>section, using the full address, not a relative one. - If you're using a website builder, look for a "Social Share Image" upload field on that specific page rather than editing code directly.
- Test with Facebook's Sharing Debugger or LinkedIn's Post Inspector β these tools also help clear a platform's cached (outdated) preview if you're updating an image that was already shared once.