Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/jsf/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google plus 按钮将图像发布到Google+;_Google Plus - Fatal编程技术网

Google plus 按钮将图像发布到Google+;

Google plus 按钮将图像发布到Google+;,google-plus,Google Plus,我知道你只需一个简单的链接就可以轻松地共享google plus页面的URL: <a href="https://plus.google.com/u/0/b/PAGE_ID/share?url=http://example.com">Share To Google+</a> 但是我该如何处理图像,使其在Google+上实际显示为图像,而不是链接?共享URL并使其与Google+上的图像一起显示的最简单方法是在目标页面中包含标记。这假设您可以控制正在共享的URL的目标

我知道你只需一个简单的链接就可以轻松地共享google plus页面的URL:

<a href="https://plus.google.com/u/0/b/PAGE_ID/share?url=http://example.com">Share To Google+</a>


但是我该如何处理图像,使其在Google+上实际显示为图像,而不是链接?

共享URL并使其与Google+上的图像一起显示的最简单方法是在目标页面中包含标记。这假设您可以控制正在共享的URL的目标

查看此页面底部的示例,了解如何将schema.org标记添加到页面:


目前,您无法与任何插件共享图像(即上传图像)到Google+。比如,你可以共享一个页面,让它以缩略图的形式拾取你的图像,但你不会上传完整的图像