Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Provided og:image is not big enough in Facebook linter

I properly set og:image on my website, the facebook linter sees it (facebook debugger) however, it says the image should be at least 200x200, which it is not the case, my image is 250x250 image.

What could be causing the issue? Could this have anything to do with Cloudfront?

Edit: I got around it by switching from this image to another image which is a 
jpg image, but still I couldn't find the cause for the problem since the image
looks fine.
like image 642
hernandes Avatar asked Mar 11 '13 19:03

hernandes


2 Answers

This was happening to me. I was only using the meta og:image tag. I added the following in the head

<link rel="image_src" type="image/jpeg" href="img_path" />

and it fixed the problem for me.

like image 154
hendr1x Avatar answered Oct 13 '22 23:10

hendr1x


The thread here is pretty helpful: og:image Open Graph Warnings image size

Generally, FB's parser prefers images that are (1) measured in multiples of 100 and (2) square format.

like image 31
Jeremy Schultz Avatar answered Oct 13 '22 21:10

Jeremy Schultz