问题
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.
回答1:
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.
回答2:
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.
回答3:
Try re-saving the image in a different image editor. Sometimes the image metadata can indicate that the image is a different size than it actually is. Re-saving it with a different program (in my case, I used MS Paint) can make the metadata more facebook-friendly.
回答4:
I have experienced same error with my custom Web server ServeRick, the solution unexpectedly was to send Content-Length header with images.. without this header facebook didn't accept any of my og:image links
回答5:
I was having a space in my image path of my image.
Like my image path was http://example.com/jodha akbar/image.jpg
If you observe above. The jodha akbar directory is having space.
And Facebook was not picking up the path due this special character may be.
I added a PHP str_replace function. And it worked for me.
str_replace(" ","%20",$image_path)
回答6:
Converting the same image from JPG to PNG did the work for me.
来源:https://stackoverflow.com/questions/15346444/provided-ogimage-is-not-big-enough-in-facebook-linter