What is the minimum width and height Of Facebook Open Graph Images?

FacebookFacebook Graph-ApiFacebook Opengraph

Facebook Problem Overview


I had read that images associated with a given URL in the Facebook open graph had to be greater than 50 x 50

However, when we ran the Facebook Object debugger - we got the following warning:

"Tiny og:image: All the images referenced by og:image must be at least 200px in both dimensions. Please check all the images with tag og:image in the given url and ensure that it meets the minimum specification."

Our URL is http://www.famousbirthdays.com/people/charlie-chaplin.html and the image does show up under Object Properties

Do we need to convert our images to be greater then 200 x 200? Or can we leave it as is? It is currently a 65 x 75 image.

thanks for your help!

Facebook Solutions


Solution 1 - Facebook

Today I had a much clearer answer to this question (from the Open Graph debugger tool):

> Small og:image: All the images referenced by og:image should be at > least 200px in both dimensions, with 1500x1500 preferred. (Maximum > image size is 5MB.) Please check all the images with tag og:image in > the given url and ensure that it meets the recommended specification. > > og:image should be larger: Provided og:image is not big enough. Please > use an image that's at least 200x200 and preferably 1500x1500. > (Maximum image size is 5MB.) Image ... will be used instead.

So, YES, you have to convert your open graph images to at least 200x200 pixels, and it seems that the larger, the better.

If your image is smaller than 200x200, Facebook will try to use a larger image (if) available on the page.

The same information returned by the debugger can be found on the open graph documentation, on "Maximizing Distribution for Media Content" topic, item 3: tags

Solution 2 - Facebook

Edit: Facebook Fixed their documentation:

From Luciano's Answer:

> og:image should be at least 200px in both dimensions, with 1500x1500 preferred. (Maximum image size is 5MB.)

Solution 3 - Facebook

It is pretty clear. They cannot be more than 130x110px and must be at least 200px per side. That is entirely possible if you store your image on a TARDIS.

Seriously, I just ran into this myself, which quite confused me since the pages passed muster just fine not long ago. I expect this is a change designed for the Timeline layout that just hasn't been updated in the documentation. What I can't find is if og:images must now be "at least" 200px per side what is the maximum and what is the current recommended size. WTF indeed.

Scott

Solution 4 - Facebook

I had same issue which did my head in. I'm using wordpress site so I had to drop the www. Check in your wordpress admin > settings >general for your site address / wordpress address etc.. This overcomes other URL errors.
As for the image issue, all I can say is that putting this in my header file worked for me. I added this below.

<html prefix="og: http://ogp.me/ns#">
<head>
<meta property="og:image" content="http://yourwebsite.com/images/yourimage.jpg"/>
<meta property="og:image:width" content="500" />
<meta property="og:image:height" content="500" />
<meta property="og:title" content="your website page title"/>
<meta property="og:url" content="http://yourwebsite.com"/>
<meta property="og:site_name" content="site name and content etc"/>
<meta property="og:description"content="description of site" />
<meta property="og:type" content="Website"/>

IN wordpress, I did leave the <title><?php wp_title( '|', true, 'right' ); ?></title> in there.

Also as suggested in other posts in my instance this code: <link rel="image_src" href="http://URL-TO-YOUR-IMAGE" / > made it NON WORKING. Removing it fixed it instantly.

I used a 500 x 500 image. Good Luck.. hopefully I save someone else's pain.

Solution 5 - Facebook

Just follow these rules:

  1. "Use images that are at least 1200 x 630 pixels for the best display on high resolution devices."
  2. "Try to keep your images as close to 1.91:1 aspect ratio as possible to display the full image in News Feed without any cropping."
  3. The preferred width of an image is 1500px

Adhering to the above principles, the preferred image has a width of 1500px, and a height of 786px (which preserves the 1.91:1 aspect ratio).

Source: Facebook: Sharing Best Practices

Solution 6 - Facebook

Looks to be a bug in the specification. A work-around solution is to make your images 200px but clip what you do not want to see, or shrink them if you have large enough originals. For example, if your image is 25x25 pixels you can add 175px to both dimensions and then nest that image inside of a div that has an overflow:hidden css property and width/height of 25x25. Not the cleanest, but it would work.

I've opened a bug ticket with Facebook to address the question of poor documentation and uncover if this is an actual spec or bug. http://developers.facebook.com/bugs/210269722417284

Solution 7 - Facebook

Looks like they updated their docs:

> The picture must be at least 50px by 50px (though minimum 200px by > 200px is preferred) and have a maximum aspect ratio of 3:1

developers.facebook.com/docs/reference/dialogs/feed

Solution 8 - Facebook

From Facebook developers page: > Use images that are at least 1200 x 630 pixels for the best display on > high resolution devices. At the minimum, you should use images that > are 600 x 315 pixels to display link page posts with larger images.

You can find more details on this here. Please check point number 4

Solution 9 - Facebook

Use images that are at least 1200 x 630 pixels for the best display on high resolution devices. At the minimum, you should use images that are 600 x 315 pixels to display link page posts with larger images.

Reference: https://developers.facebook.com/docs/opengraph/howtos/maximizing-distribution-media-content#images

Solution 10 - Facebook

From https://developers.facebook.com/docs/plugins/checklist/#opengraphtags

  1. Use proper Open Graph tags to drive distribution

Open Graph tags can be included in your page’s HTML to allow the Facebook Crawler to generate better previews when your content is shared on Facebook.

The basic Open Graph tags you should implement are:

Tag Description

  1. og:title The title of your article, excluding any branding.

  2. og:site_name The name of your website. e.g. IMDb not imdb.com.

  3. og:url The URL that is the the unique identifier for your post. It should match your canonical URL used for SEO, and it should not include any session variables, user identifying parameters, or counters. If you use this improperly, likes and shares will not be aggregated for this URL and will be spread across all of the variations of the URL.

  4. og:description A detailed description of the piece of content, usually between 2 and 4 sentences.

  5. og:image The URL of the image that you want to appear when you share a link. We suggest that you use an image of at least 1200x630 pixels.

Solution 11 - Facebook

The docs have been updated again!

og:image can now be as big as you like - whoop

They have recommended the following:

  • at least 600x315 pixels
  • Ideally 1.91:1 in ratio
  • no bigger than 5mb in file size
  • but AS BIG AS YOU LIKE!

Also don't forget you can add multiple og:images and let the user choose which picture they want to use.

Solution 12 - Facebook

From your post it seems you want to share the post using the OG concept to facebook.For this the minimum size of the image should be 200px(x)200px. This is a standard dimension by FB and if there is no specific size image is available it will take next image in your page which has the same dimension.

Minimum Image Size The minimum image size is 200 x 200 pixels. If you try to use an image smaller than this you will see an error in the URL Debugger.Please check with this Link>>

Solution 13 - Facebook

I ran into the same problem. I did not perform exhaustive testing, so I can't say exactly what the requirements are to get the images to show up. I can say that I switched my images to being >200x>200 (specifically 350x350) and they showed up after that.

Solution 14 - Facebook

If you even informing an image larger than 200x200 (as new documentation) the Debuger still accuse the image is not big enough, the solution is to add the meta tag below with the image dimensions:

Example:

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

Solution 15 - Facebook

I recently had similar problems. As a rule of thumb, don't use a png image file, instead, use a jpg image file.

The general problem with png files is because of the transparent background they cannot properly calculate the height and weight since variations of the problem appeared.

It's a pity that it is not specified on the documentation...

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionEvan BView Question on Stackoverflow
Solution 1 - FacebookLuciano CarvalhoView Answer on Stackoverflow
Solution 2 - FacebookZach LysobeyView Answer on Stackoverflow
Solution 3 - FacebookScott WitteView Answer on Stackoverflow
Solution 4 - FacebookMuzView Answer on Stackoverflow
Solution 5 - FacebookeriklindeView Answer on Stackoverflow
Solution 6 - FacebookMikeView Answer on Stackoverflow
Solution 7 - FacebookJoshView Answer on Stackoverflow
Solution 8 - FacebookPrasad NevaseView Answer on Stackoverflow
Solution 9 - FacebookZoulRicView Answer on Stackoverflow
Solution 10 - Facebookuser2164305View Answer on Stackoverflow
Solution 11 - FacebooksidonaldsonView Answer on Stackoverflow
Solution 12 - FacebookHari krisView Answer on Stackoverflow
Solution 13 - FacebooksdouglassView Answer on Stackoverflow
Solution 14 - FacebookFred WuergesView Answer on Stackoverflow
Solution 15 - Facebookcroppio.comView Answer on Stackoverflow