What Is an Open Graph Image?
Updated
Short answer
An Open Graph image (often called an OG image) is the picture you choose to appear when your web page is shared. It’s set in your page’s hidden sharing information, and apps like Facebook, LinkedIn, WhatsApp and iMessage use it as the main image in your link preview. The best size is 1200 × 630 pixels.
If you’ve seen “OG image” in your website settings or an SEO plugin and wondered what it meant, this is it.
Check out this website!
Open Graph image, sharing image, social image: all the same thing
Different tools use different names:
- Open Graph image or OG image
- Social image or social sharing image
- Featured image (some builders use this as the sharing image)
- Preview image
They all mean the image apps show when your link is shared.
Where it lives
The image is stored on your website like any other picture. Your page then includes a line of hidden information called og:image that points to it. Apps read that line, download the image and put it in your preview.
The right size
- 1200 × 630 pixels: the size that works well almost everywhere.
- The shape is about 1.91 to 1: almost twice as wide as it is tall.
- Keep the file under 1 MB: smaller is better for WhatsApp.
See what makes a good preview image.
What if I don’t set one?
Apps try to find an image on your page, and often pick the wrong one, such as your logo, an icon or a random photo. Some show nothing. Setting an Open Graph image means you choose.
Common mistakes to avoid
- !Using your logo as the imageLogos are usually square and small, so they’re cropped or shown tiny. Use a wide image with your logo placed inside it.
- !Using an image address that only works for youIf the image is on a private or staging site, apps can’t download it.
Frequently asked questions
Sometimes. Many website builders use a page’s featured image as its sharing image unless you set a different one.
Not necessarily, but the pages you share most (products, articles, events) look much better with their own.
Most apps show only a still image. Use a JPG or PNG for the most reliable result.
Sources
- The Open Graph protocol: The standard most apps use to read sharing information.
- Facebook: A guide to sharing for webmasters: Facebook’s tags, image sizes and caching.