Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/83.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
Html 当我在LinkedIn上分享我的网站URL时,它会显示我网站上的图片。我能改变这个形象吗?_Html_Linkedin - Fatal编程技术网

Html 当我在LinkedIn上分享我的网站URL时,它会显示我网站上的图片。我能改变这个形象吗?

Html 当我在LinkedIn上分享我的网站URL时,它会显示我网站上的图片。我能改变这个形象吗?,html,linkedin,Html,Linkedin,当我在LinkedIn上分享我的网站URL时,它显示的是我网站上的一张图片,但不是相关的图片。我可以更改预览图像吗 <meta property="og:url" content="http://mywebsite.com/" /> <meta property="og:type" content="website" /> <meta property="og:title" content="yyyy" /> <meta property="og:de

当我在LinkedIn上分享我的网站URL时,它显示的是我网站上的一张图片,但不是相关的图片。我可以更改预览图像吗

<meta property="og:url" content="http://mywebsite.com/" />
<meta property="og:type"  content="website" />
<meta property="og:title" content="yyyy" />
<meta property="og:description" content="yyyy" />
<meta property="og:image"  content="http://mywebsite.com/wp-content/themes/newtheme/img/logo.png" />


我已经设置了这些元标记。

由于您已经正确设置了
标记,您唯一需要检查的是要显示的图像是否符合LinkedIn的要求

根据“”文章,LinkedIn共享模块的特定图像要求如下:

  • 最大文件大小:5 MB
  • 最小图像尺寸:1200(宽)x 627(高)像素

由于
标记中定义的文件名是
logo.png
,我假设它不符合上述尺寸要求。

你读过吗?@jonathanbell当我通过个人信息向其他人共享我的网站url时,或者当其他人共享我的网站url时,它显示了我的推荐部分的图像时,它不是这样的。我需要换衣服that@juice既然您设置了property=“og:image”,那么我想说的是,图像可能是缓存在LinkedIn端的。或者开放图需要一个相对路径??还是与您的站点具有相同域的站点?