【发布时间】:2011-12-23 21:58:06
【问题描述】:
查看 Facebook,我注意到图像的大小从 100x100 到 300x300 以上(在某些情况下更大)不等。我意识到其中一些可以使用 Open Graph 来完成,但是当我从我的网站为照片指定图像尺寸时,它会拍摄照片并将尺寸缩小到更小的尺寸。这在一定程度上是可以的,因为图像尺寸最初是 620x541,但它会将其缩小到非常小的尺寸(大约 100x100),这使得图像上的文本非常难以阅读,并且在某些情况下,图像会变得看起来很糟糕照片。
为什么有些照片是 300x300(大约),但 FB 将我的图像缩小到小得多的图像是为什么?我已经使用 OGP 指定了我想要拉的图像但是有没有办法告诉 FB 不要将图像缩小到一定大小以下?这是我用于图像的 OGP:
<meta property="og:title" content="My Title" />
<meta property="og:type" content="article" />
<meta property="og:url" content="URL Path" />
<meta property="og:image" content="Image File Path" />
<meta property="og:image:type" content="image/jpeg" />
<meta property="og:image:width" content="620" />
<meta property="og:image:height" content="541" />
【问题讨论】:
标签: facebook image facebook-opengraph