简体   繁体   English

Facebook上的错误图片缩略图(用于Blogger或Blogspot)

[英]Wrong image thumbnail on Facebook for (blogger aka blogspot)

I have a blogger (ameliaily.blogspot.com) and I am trying to get images from the blog to post as a thumbnail on Facebook and I have tried many things and none work. 我有一个博客作者(ameliaily.blogspot.com),我试图从博客中获取图像以缩略图形式发布到Facebook,但我尝试了很多方法,但没有任何效果。 I still keep getting the og:image is not big enough error. 我仍然不断收到og:image不够大的错误。

I have searched many forums and looked at all the answers I could find and it is still not working. 我搜索了很多论坛,并查看了所有可以找到的答案,但仍然无法正常工作。 I do not want FB to keep using my googleusercontent image as the picture (it is my personal photo and I don't want it to be the thumbnail used). 我不希望FB继续使用我的googleusercontent图片作为图片(这是我的个人照片,我不希望它成为使用的缩略图)。

Below are the things I have tried: 以下是我尝试过的事情:

  1. Changing the size of the actual image. 更改实际图像的尺寸。 I've tried making it exactly 200 x 200 px, I've tried making it a rounded number ie 600 x 400 instead of 541 x 441. 我试过将其精确地设置为200 x 200 px,并尝试将其四舍五入,即600 x 400而不是541 x 441。

  2. Uploading the actual image to blogger. 将实际图像上传到博客。

  3. Uploading the actual image to photobucket and THEN linking that image to blogger. 将实际图像上传到Photobucket,然后将该图像链接到博客。

  4. Adding the open graph code to my template HTML as suggested by these two forums: blogger-hints-and-tips.blogspot.com/2013/06/add-facebook-open-graph-tags-to-blogger-for-better-looking-shares-and-likes.html and www.bloggerhow.com/2012/07/implement-open-graph-in-blogger-blogs.html 按照以下两个论坛的建议将打开的图形代码添加到我的模板HTML中:blogger-hints-and-tips.blogspot.com/2013/06/add-facebook-open-graph-tags-to-blogger-for-better- looking-shares-and-likes.html和www.bloggerhow.com/2012/07/implement-open-graph-in-blogger-blogs.html

    5) These are the images that I am trying to use as thumbnails: http://smg.photobucket.com/user/dizzyuptheblue/media/Blogger/balancebeam-4.jpg.html and http://smg.photobucket.com/user/dizzyuptheblue/media/Blogger/image004.jpg.html 5)这些是我要用作缩略图的图像: http : //smg.photobucket.com/user/dizzyuptheblue/media/Blogger/balancebeam-4.jpg.htmlhttp://smg.photobucket.com /user/dizzyuptheblue/media/Blogger/image004.jpg.html

They are both huge images so I don't know why FB keeps telling me it is not large enough. 它们都是巨大的图像,所以我不知道为什么FB一直告诉我它不够大。

I had a look at the source of your page, and it looks like you are using a tag like this for the image: 我查看了您页面的源代码,看起来您正在对图像使用如下标记:

<meta content='http://smg.photobucket.com/user/dizzyuptheblue/media/Blogger/image004.jpg.html' property='og:image'/>

The file type of the URL in this tag needs to be an image - at the moment, it is an HTML file which shows an image. 此标记中URL的文件类型必须是图像-目前,它是显示图像的HTML文件。 You need the direct URL to the image. 您需要图像的直接URL。 To get this, you can visit that page (ending in image0004.jpg.html) and right click on the image, copy the image URL and use this copied value in the tag instead - so the tag should become this: 为此,您可以访问该页面(以image0004.jpg.html结尾),然后右键单击图像,复制图像URL,然后在标记中使用该复制的值-因此标记应变为:

<meta content='http://img.photobucket.com/albums/v235/dizzyuptheblue/Blogger/image004.jpg' property='og:image'/>

Try that instead and then test it out on the Facebook Open Graph debugger. 请尝试尝试,然后在Facebook Open Graph调试器上对其进行测试

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM