# Open Graph Image

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

**Field:** Design  
**Category:** Web Design  
**Also known as:** OG Image, og:image, Social Share Image, Link Preview Image

## Think of it like

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

## 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

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.

## 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.

## Why it matters

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

## Common mistake

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

## Three principles

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

## Related terms

- [Favicon](https://learn.benibix.com/term/design/favicon)
- [Hero Section](https://learn.benibix.com/term/design/hero-section)
- [Social Media Graphic](https://learn.benibix.com/term/design/social-media-graphic)
- [Aspect Ratio](https://learn.benibix.com/term/design/aspect-ratio)
- [HyperText Markup Language (HTML)](https://learn.benibix.com/term/development/html)

![On the left, the head of a web page's code with an og:image line highlighted. An arrow leads to a chat message on the right, showing a share card: a wide picture on top, the page title and the site name below it.](https://learn.benibix.com/diagrams/des5-og-card.svg)

---

Source: https://learn.benibix.com/term/design/open-graph-image
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
