本文介绍了Facebook Open Graph 图片的最小宽度和高度是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我读到与 Facebook 开放图中给定 URL 关联的图像必须大于 50 x 50

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

但是,当我们运行 Facebook 对象调试器时 - 我们收到以下警告:

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

微小的 og:image:og:image 引用的所有图像在两个维度上都必须至少为 200 像素.请检查给定 URL 中带有标记 og:image 的所有图像,并确保它符合最低规格."

"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."

我们的网址是 http://www.knownbirthdays.com/people/charlie-chaplin.html 并且图像确实显示在对象属性

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

我们是否需要将图像转换为大于 200 x 200?或者我们可以保持原样吗?它目前是 65 x 75 的图像.

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.

感谢您的帮助!

推荐答案

今天我对这个问题有了更清晰的答案(来自 Open Graph 调试器工具):

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

小 og:image: 所有 og:image 引用的图片都应该在两个维度至少 200 像素,首选 1500x1500.(最大值图片大小为 5MB.)请检查所有带有 og:image 标签的图片给定的 url 并确保它符合推荐的规范.

og:image 应该更大: 提供的 og:image 不够大.请使用至少 200x200,最好是 1500x1500 的图像.(最大图像大小为 5MB.)将使用图像 ... 代替.

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.

所以,,您必须将打开的图形图像转换为至少 200x200 像素,而且似乎越大越好.

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

如果您的图片小于 200x200,Facebook 将尝试使用页面上可用的更大图片(如果).

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

调试器返回的相同信息可以在开放图文档中找到,"最大化媒体内容分发"主题,第 3 项:标签

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

这篇关于Facebook Open Graph 图片的最小宽度和高度是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-30 05:38