Open Graph image

A website owner creates an Open Graph image – 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 compared to a Facebook post without an Open Graph image.

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

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

You can see below that a grey box is unattractive and doesn’t help the brand connect with an audience. It is easy to scroll past 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 used 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 an HTML page.

Open Graph image size

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

The recommended size is on the Facebook Developers page – Images in Link Shares.

The minimum requirement is 200 by 200 pixels.

The landscape rectangle (1200 × 630 pixels) looks fantastic on Facebook shares, justifiably because Facebook develops the Open Graph system.

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 displaying full width, stacked under the text, the image will float to the left, in column format.

In my opinion, the small image doesn’t stand out as well. Go for the large 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 get cut off.

For a perfect fit, create separate images for the Open Graph image and the Twitter Card image. 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.

What to include on an OG image

The image must be relevant to the article content – you can quickly lose a fan if an image is misleading.

An overlay of bright, snappy title text helps to encourage clicks – show the reader what’s in the article. 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 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 like Canva. Canva is free for the most part, but you’ll need to pay to produce images in the required size.

The Yoast Open Graph image

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 understand the page’s content and control what appears on a Google search.

Website owners can add metadata, and Yoast also enables us to add Open Graph images to any WordPress article.

WP Beginner has a helpful article on installing Yoast SEO on WordPress.

Add a Yoast Open Graph image

Once Yoast is installed and activated, you’ll find the Yoast edit area at the bottom of any page or post. Sometimes you need to open it up to see the options.

To add a Yoast Open Graph image, click on the Social tab, as shown here.

Yoast SEO - Facebook image - find the Social tab.

Once there, hit Facebook (difficult to see at first glance), which will open up more options.

Use this area to gain more control over the way articles appear when shared on social media.

Notice the Facebook Title and Facebook Description fields.

By default, standard meta-tags are used on social media. However, the Facebook Description can contain more words than a standard meta-description used on search engines.

Using the Facebook Description, you could also talk directly to Facebook fans by addressing them directly. A bonus for brands – 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.

Yoast Premium versus Yoast

Within Yoast Premium, it’s possible to preview the Open Graph image before sharing the all-important post on Facebook.

I love these social appearance templates, released in the latest Yoast Premium version. It gives an excellent overview of how things will appear on social platforms.

Yoast has created a decent explanation video to show you just what I mean – The Yoast SEO Social Previews.

If you haven’t got the Yoast Premium version, you’ll need to share the article on Facebook to take a look at the outcome. 

To view the OG image with Yoast standard, you’ll need to share the page directly.

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. The meta property for an Open Graph image is:


Include the width and the height so Facebook can render the image with speed.

<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 will appear on the Facebook post.

These can be entirely different for the meta-title and meta-description of the page, so you could use them to personalise 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 × 630 pixels to display a large rectangle stacked under the post text.
  • Images under 600 pixels will display to the left of the OG title.
  • The minimum size is 200 × 200 pixels, but I don’t recommend anything this low in resolution.
  • Use text overlay but keep words to a minimum.
  • Use height and width so that the image renders quickly.

Share and Enjoy !

19 thoughts on “Open Graph image”

    1. Not for the image, but yes use the markup available. For example, this post would be something like:

      meta property=”og:title” content=”Open Graph image”
      meta property=”og:description” content=”A website owner creates an Open Graph image – 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.”
      meta property=”og:type” content=”article”
      meta property=”og:url” content=””

      (Note this is not correct markup)

      I would encourage you to use an image, though.

  1. Hello Kelly,
    Great article! I’m using Yoast plugin to support the placement og images and code on my WP website. However, my og description doesn’t seem to show up when sharing a url on facebook. I’ve used the Facebook debugger tool to scrape and make sure Facebook is pulling the right image and such but for some reason, in the the og description area on the Facebook debugger tool it will say, “This is a text!” (although that text doesn’t show when trying to post). When I check the og description code on my website though it has the description that I placed with the image. What gives? I’m so confused as to what to do. I’m wondering if the page cacheing on the server either needs to be cleared or have it unblocked so that Facebook bots can crawl and capture the og description for the image being shared. Do you have any suggestions to try?

  2. Hi Kelly, I’m using the same image for both the twitter OG and the facebook OG (sized accordingly). My question is, does the title and description for each of these have to differ? Or can they be the same? I’m using the same image, so I could either use the same title/description or make one of them unique to differ from the other. Any thoughts? Thanks!

    1. Hi Joshua, you can use different descriptions (twitter:description v og:description). What I like about this is the ability to talk to the two audiences directly – you know how we use a slightly different language on each. Facebook recommends using between two and four sentences – which could end up being really long (600 characters), but Facebook can cope with that. Twitter limits to a maximum of 200 characters. Shorter is better for both I think – 200 characters is a great number. What do you think?

      1. Hi Kelly, thanks for the response! Yes, I would agree with you on having different image descriptions based on the target audience. I should have specified that my question was pertaining to the image Alt tag rather than the image description, my apologies. Should I take the same approach with the image Alt tags?

        1. No – stick with one ALT tag. The ALT tag is to explain the image to visually impaired people and helps for search engine optimisation too. I’ll do a blog post on this specific matter 🙂

  3. Hello, thank you for your post on og:image how to! I have gone through the steps but the FB image still doesn’t show up. Do I have to wait an hour or so?
    Thank you, jd

  4. Helpful post. For some reason, I have set-up everything according to your instructions. LinkedIn works, but Facebook for some strange reason does not work. I tried going through the “debugger” and it gives me the following error message:

    “Inferred Property
    The ‘og:image’ property should be explicitly provided, even if a value can be inferred from other tags.
    Missing Properties
    The following required properties are missing: og:image, og:description, fb:app_id”

  5. 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 *