Google plus 谷歌+;共享插件-我无法在我的+;1更新

Google plus 谷歌+;共享插件-我无法在我的+;1更新,google-plus,Google Plus,我正在使用Google+共享插件,它同时执行a+1和a共享 不幸的是,我无法获取指定要显示的图像 我使用的图像是200px x 200px,符合尺寸要求。我可以按指定获取要显示的名称和说明 以下是我正在使用的代码: <!DOCTYPE html> <html itemscope itemtype="http://schema.org/Vacancy"> <head> <meta itemprop="name" content="Vacancy">

我正在使用Google+共享插件,它同时执行a+1和a共享

不幸的是,我无法获取指定要显示的图像

我使用的图像是200px x 200px,符合尺寸要求。我可以按指定获取要显示的名称和说明

以下是我正在使用的代码:

<!DOCTYPE html>
<html itemscope itemtype="http://schema.org/Vacancy">
<head>

<meta itemprop="name" content="Vacancy">
<meta itemprop="description" content="A new job vacancy etc">
<meta itemprop="image" content="https://encrypted-tbn3.google.com/images?q=tbn:ANd9GcQBafMb42NGLi-C-NEmdC-RQDJ5t8PRahD4uTdpOuSAnD5_gMU1_g">

</head>

<body> 

<!-- Place this tag where you want the +1 button to render -->
<g:plusone annotation="inline"></g:plusone>


<!-- Place this render call where appropriate -->
<script type="text/javascript">
  (function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'https://apis.google.com/js/plusone.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  })();
</script>

</body>

</html>

(功能(){
var po=document.createElement('script');po.type='text/javascript';po.async=true;
po.src=https://apis.google.com/js/plusone.js';
var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(po,s);
})();
除了+1共享上没有显示正确的图像外,所有功能都正常

在这方面的任何帮助都将不胜感激

非常感谢,


玛丽

你提供的代码对我有用。您的代码片段中显示了一张160px正方形的猫的图像


您提供的代码对我有效。您的代码片段中显示了一张160px正方形的猫的图像


G+可能刚刚缓存了一个没有图像的版本,这就是您看到的。您可能需要等待一段时间,直到缓存过期。G+可能刚刚缓存了一个没有映像的版本,这就是您看到的。您可能需要等待一段时间,直到缓存过期。嗨,珍妮,我看到它正在工作。当我尝试它时,它不起作用。我不熟悉这些元标记。google+可以使用的图像是否有延迟。对可以使用的文件类型有任何限制吗?在这方面的任何帮助都将不胜感激。非常感谢,MaryIt听起来你可能看到了页面的缓存版本。获取页面并生成代码段的服务器将遵守您设置的任何缓存指令。因此,如果您单击按钮,然后更改页面,您仍然可以在代码段中看到旧内容。要解决这个问题,请在开发过程中使用短缓存超时:)嗨,Jenny,我看到它现在正在工作。当我尝试它时,它不起作用。我不熟悉这些元标记。google+可以使用的图像是否有延迟。对可以使用的文件类型有任何限制吗?在这方面的任何帮助都将不胜感激。非常感谢,MaryIt听起来你可能看到了页面的缓存版本。获取页面并生成代码段的服务器将遵守您设置的任何缓存指令。因此,如果您单击按钮,然后更改页面,您仍然可以在代码段中看到旧内容。要解决此问题,请在开发期间使用短缓存超时:)