Skip to content
BENIBIX Learn

Open Graph Image

Design🌐 Web DesignPage Anatomy

Also known as OG Image, og:image, Social Share Image, Link Preview Image

The picture in the preview card. It shows when someone shares a link to your page.

Think of it like

It is like the picture on the front of a cereal box. It makes you pick it up.

Example

Lucy's blog posts each get a 1200 by 630 pixel image with the post title on it. Shared links now show a clean card, not a random logo.

Why it matters

A shared link with a clear picture gets far more clicks than a bare link.

Definition

An Open Graph image is the picture that shows when someone shares a link to your page. Chat apps and social sites read it from a tag in the page's code. It appears in a card with the page title and a short description. If the page has none, the app may pick a random image or show nothing. Most sites make one per page, often with the title written on it.

Example code

html
<meta property="og:image" content="https://example.com/cards/lemon-cake.png">
<meta property="og:title" content="Lemon Cake in 30 Minutes">
Two lines in the page head. Apps read them to build the share card.
The tag in the page head becomes the picture on the share card.

Common mistake

Putting small text near the edges. Some apps crop the image, and the words get cut off.

Key takeaways

  1. 1
    One per page. Set in the page head.
  2. 2
    Wide shape. About 1.91 to 1.
  3. 3
    Keep text central. Edges may be cropped.