How link previews work
When someone pastes a link into a chat or a post, the platform fetches the page and reads a few meta tags from its HTML head. It does not look at the page itself. Those tags decide the title, text and picture of the card, which is often the only thing people see before they decide to click.
Open Graph tags
Open Graph is the format Facebook introduced and almost everyone reads: og:title, og:description, og:image and og:url. WhatsApp, LinkedIn, Slack and most messengers rely on it, so these four tags cover the largest share of your shares.
Twitter Cards on X
X reads twitter:card, twitter:title, twitter:description and twitter:image first and falls back to Open Graph when they are missing. That is why a missing twitter:card is only a warning. Set it to summary_large_image if you want the big picture layout.
Image size and format
The common recommendation is 1200 by 630 pixels, a ratio of about 1.91 to 1, as JPG or PNG under a few megabytes. Smaller images may be shown as a thumbnail beside the text, and very tall images get cropped. Declare og:image:width and og:image:height so platforms know the size before they download the file.
Absolute https addresses
The image address should be complete, starting with https. Relative paths, http addresses and images behind a login or a bot block often fail silently, and the card appears without a picture.
Title and description length
Feeds cut text at different lengths. A title under 60 characters and a description under 160 survive almost everywhere. Write them for people scrolling a feed, not only for search engines.
Caches and fixing mistakes
Platforms cache previews, sometimes for days. After you fix your tags, use the debugger tools of the platform to request a fresh scrape, or add a changing parameter to the shared address. Our check always reads the live page.
Tags get lost when a template, a plugin or a theme is updated, and nobody notices until a shared link looks wrong. ViewCel can watch a page and tell you when its content or tags change.
