Websites
Link previews: how your page looks in messengers and networks
A link in a chat group or a post is often the first contact with your company. Whether a strong image with a clear title appears there or a grey box is decided by a few lines in the page head.
In short
- Open Graph tags define which image, title and text appear when a page is shared.
- Every important page and every language needs its own matching preview image in the corporate design.
- Platforms cache previews; after changes, the preview has to be refreshed deliberately.
What it is about
A sales representative sends a prospect the link to the new service page via messenger. What appears there is the first impression: at best, a clear image in the corporate design, a concise title and a sentence that sparks curiosity. At worst, an empty box, a cropped logo or the title of a completely different page.
These previews do not happen by chance. When a page is first shared, messengers and social networks read certain information from its head. The format for this is called Open Graph and is described on ogp.me. Those who maintain it properly decide for themselves how their website looks outside the website.
How it works
The most important tags are og:title, og:description, og:image and og:url, complemented by og:type and og:locale. The image should have an absolute https address, an aspect ratio of about 1.91 to 1, typically 1200 × 630 pixels, and should not be too large. Width and height as separate tags help platforms display the preview correctly straight away.
On multilingual websites, every language version needs its own image, because a German title in the preview image looks out of place on an Arabic page. The most reliable approach is to generate the images automatically during the build: from title, category and a layout grid in the corporate design, for every page and every language. That way, previews stay consistent even with dozens of new articles.
Where it goes wrong
The most common mistake is a missing or wrong image. Without og:image, platforms grab some image from the page or show none at all. A relative path instead of a full address also often leads to empty previews. In one project, all pages therefore had to be switched retrospectively to full image addresses and fixed dimensions so that messengers reliably showed previews.
The second pitfall is the platforms’ cache. Anyone who changes a preview image often still sees the old one when sharing again. Networks such as LinkedIn offer inspection tools that can re-read the preview. And finally design: a preview image is part of the brand and should follow the company’s design rules.
How to proceed
Set og:title, og:description, og:image, og:url, og:type and og:locale on every page. Deliver preview images at 1200 × 630 with an absolute https address and width and height tags. Generate a separate image with text in that language for every language, ideally automatically during the build. Keep the files small. Test the preview on the platforms your customers use. And after changes, refresh the cached preview with the inspection tools.
Read more: Structured data: how to tell search engines who you are, Building a multilingual website: addresses, translation, text direction and Understanding caching: why changes are not visible straight away.
How Airnite helps
We set up Open Graph tags for your website and generate preview images in your brand’s design automatically for every page and every language. We check existing sites for missing or faulty previews and make sure every shared link looks professional.
Checklist
Sources
Every fact in this article is based on the following publications. Primary sources are marked.
- ogp.meThe Open Graph protocol
- Meta for DevelopersA Guide to Sharing for Webmasters
- LinkedInPost Inspector
Matching services
Read on
Structured data: how to tell search engines who you are
People read your website; machines guess. Structured data takes the guessing away: this is the company, this is the address, this is an expert article from 22 November. It sounds trivial, and it prevents misunderstandings.SEO3 minBuilding a multilingual website: addresses, translation, text direction
Translating a website is more than copying text into another field. Addresses, form of address, technical terms, fonts and, for Arabic, even the reading direction must be planned from the start.Websites3 minUnderstanding caching: why changes are not visible straight away
Caches make websites fast. They are also why some visitors still see the old version after an update, and why an error page suddenly reports the wrong status.Current incidents and warnings are covered in the Zero Day magazine. Go to the magazine