Open Graph image

An Open Graph image is created by a website owner – the image fits perfectly onto a Facebook post when a page is shared. A good one will have context and allure, to encourage Facebook users to click it.

Open Graph image, how it displays on Facebook compare to a Facebook post without an Open Graph image.

A brand looks more professional – and interesting – when a well put together Open Graph image is featured.

When shared, a page with no OG image will display a grey box or might show a random banner.

You can see below that a grey box is unattractive and doesn’t help the brand to connect with an audience at all. It is easy to scroll passed it. No one likes a grey box.

A Facebook share without an OG image.

By contrast, below is a Facebook share of an article that DOES use an Open Graph image. It is so much more vibrant and is much more likely to receive engagement.

Open Graph image use on a Facebook post

In this article I show you OG image sizes and where they appear across the internet. I’ll also tell you how to add one to a WordPress page or post, as well as a HTML page.

Open Graph image size

The suggested size for a Facebook Open Graph images is about 1200 pixels by 630 pixels and should not be more than 8 MB, so remember to optimise the image.

Those recommended sizes are supplied on the Facebook Developers page – Images in Link Shares.

The minimum requirement is 200 by 200 pixels.

The landscape rectangle (1200 x 630 pixels) looks fantastic on Facebook shares, justifiably because the Open Graph system is developed by Facebook.

LinkedIn, Pinterest and Twitter will also recognise an OG image when a page is shared. Be aware of size complications on Twitter.

When the image is less than 600 pixels in width, the Facebook posts display differently.

Instead of the image displaying full width, stacked under the text, the image will float to the left. The image is next to the text in columns.

In my opinion the small sized image doesn’t stand out as well, so go for the larger size every time.

Does Twitter use the Open Graph image?

Twitter robots will default to Open Graph if they can’t find Twitter meta-tags called Twitter Cards.

One thing to be aware of is that the OG image does not fit perfectly into a tweet – content can be cut off.

Create separate images for Open Graph image and the Twitter Card image, for a perfect fit. It doesn’t take long to resize an OG image to a Twitter Card image.

Twitter Card image size should be 1024 pixels by 512 pixels.

I wonder if the two platforms will align one day? It seems ludicrous to make us include two, seeing as the resolutions are so similar. Anyhow …

What to include on an OG image

The image must be relevant to article content. A fan can easily be lost if an image is misleading.

An overlay of bright, snappy title text helps to encourage clicks – show the user what the article is about. It could even include a call to action, such as ‘FIND OUT MORE’.

Less is more when it comes to text on Facebook images though.

Include a logo on all images – this is known as branding and it helps people to recognise the content. I use my truncated, responsive logo as it’s more modest.

To create an Open Graph image use Photoshop, a free image editor like GIMP or an online image editor such as Canva. Canva is free for the most part, but you’ll need to pay to produce images in the required size.

The Open Graph image on WordPress using Yoast

Yoast SEO is a WordPress plugin that enables WordPress website owners to add meta-tags such as a title and description.

These help search engines to understand the content of page and gives some control as to what appears on a Google search.

Easily add Open Graph images to a WordPress article with Yoast.

Check out WP Beginner’s article on installing Yoast, if you haven’t done so already.

In the WordPress admin area scroll to the bottom of any page or post to find the Yoast edit area.

Click on the Social tab, as shown below.

Yoast SEO - Facebook image - find the Social tab.

Once there, click the Facebook title to drop down more options. This can be difficult to see at first.

Use this area to change the way articles appear when shared.

Notice the Facebook Title and Facebook Description fields. By default, standard meta-tags are used on social media. However, the Facebook Description can be a lot longer than the meta-description, used on search engines.

You could also talk directly to Facebook fans by addressing them directly. So it’s worth completing this area.

To add the OG image, scroll to the bottom to find the Upload button. Click it to add an image at a recommended size of 1200 pixels by 630 pixels.

You’ll need to save (Update) the post or page for the changes to take effect.

Using Yoast PRO you can preview your work. If you haven’t got PRO, share the article on Facebook to take a look at the outcome. Posts can be quickly deleted if the image isn’t correct.

You’ll need to directly share the page – to do this go to the front end of the website, navigate to the article. Now highlight the full URL in the address bar, it will look something like this:

Go back to Facebook, start a new post and then paste the URL. You should see the correctly sized image appear above the Facebook Description meta-tag.

Add Open Graph image using HTML

If you have coded your website in HTML, use the Open Graph tags before the final </head> tag in the files. The meta property for an Open Graph image is og:image.

The width and the height should also be included so Facebook can render the image quickly.

<meta property="og:image" content=""/>

<meta property="og:title" content="Your Title"/>

<meta property="og:description" content="A full description of the page."/>

<meta property="og:image:width" content="1200"/>

<meta property="og:image:height" content="630"/>

Notice in the code above, the OG title and description that will appear on the Facebook post. These can be completely different to the meta-title and meta-description of the page, so could be used for personalising your content to Facebook fans.

Let me know how you get on adding an Open Graph image to your website.

Open Graph image lowdown

  • Recommended size is 1200 x 630 pixels to display large rectangle stacked under the post text.
  • Images under 600 pixels will display to the left of the OG title.
  • Minimum size is 200 x 200 pixels but I don’t recommend anything this low in resolution.
  • Text overlay can be used but keep words to a minimum.
  • Use height and width so that the image renders quickly.

Share and Enjoy !

2 thoughts on “Open Graph image”

  1. Thank you for this great article Kelly! So glad you referred me too it after my question. I had issues with my Featured images not displaying on LinkedIn, and now, thanks to you, it is working. This has been bugging me for weeks, I wish I asked you earlier.

    That’s one thing off my list and less disturbing every time I go on my profile!

    Thanks a lot, a very useful post! 🙂 x

    1. I’m so glad it was helpful Chrystel – that pleases me no end. I’m looking forward to seeing your beautiful LinkedIn posts 🙂

Leave a Comment

Your email address will not be published. Required fields are marked *