网页og:图像在Facebook中裁剪 [英] Webpage og:image are cropped in facebook

查看:602
本文介绍了网页og:图像在Facebook中裁剪的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网页上有 og:image ,图片大小为1200px到630px。它在Facebook上被裁掉了,我想念的是什么!?

I have og:image on my web page and image size 1200px by 630px. It gets cropped at on Facebook, what I miss!?

代码

<meta property="og:title" content="Title" />
<meta property="og:url" content="http://www.url.com/" />
<meta property="og:type" content="website" />
<meta property="og:image" content="http://www.url.jpg" />
<meta property="og:description" content="description" />


推荐答案

我遇到了同样的问题。您可能已多次编辑图像并使用相同的文件名保存它。图像正在缓存在Facebook服务器上,如果名称保持不变,Facebook不会刷新图像。重命名您的图片并更新您的网页html然后使用 Facebooks对象调试器

I had this same problem. You have probably edited the image several times and saved it with the same filename. The image is being cached on Facebook servers and Facebook does not refresh the image if the name remains the same. Rename your image and update your pages html then use Facebooks Object Debugger

这篇关于网页og:图像在Facebook中裁剪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆