Google+代码段缩略图未显示 [英] Google+ snippet thumbnail not showing
问题描述
我在我的网站中包含google +代码段,要在google +上共享我的网站,我的代码应如下所示
i have in google+ snippet in my website, to sharing my website on google+, my code look like this
<head>
<meta property="og:title" content="title of website" />
<meta property="og:url" content="my website url" />
<meta property="og:image" content="url image" />
<meta property="og:description" content="description of my website" />
</head>
<bod>
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<g:plusone size="tall"></g:plusone></td>
</body>
我还包括了facebook like,它呈现了所有元标记(标题,图像,描述).但是,如果是google +,则缩略图不会显示.
i have also included facebook like, which rendering all meta tags (title,image,description). But, in case of google+, thumbnail image is not showing.
需要帮助!
推荐答案
图像的尺寸是多少?我将缩略图标准化为100x67,因为它们可以在Facebook上正常显示,但Google+未显示它们.我发现较大的图片可以使用相同的代码工作,因此我只能假定Google+由于某种原因忽略了很少的图片.
What are the dimensions of your image? I standardised my thumbnails at 100x67 as they look right on Facebook, but Google+ wasn't showing them. I found that larger images will work with the same code, so I can only assume Google+ ignores little images for some reason.
这篇关于Google+代码段缩略图未显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!