当我在 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" />
Run Code Online (Sandbox Code Playgroud)
我已经设置了这些元标记。
由于您已经正确设置了<og:image>标签,因此您唯一需要检查的是要显示的图像是否满足LinkedIn的要求。
根据 \xe2\x80\x9c Making Your Website Shareable on LinkedIn \xe2\x80\x9d 文章,LinkedIn 共享模块特定的图像要求如下:
\n\n<og:image>由于您的标签中定义的文件名是logo.png,我认为它不满足上述大小要求。
| 归档时间: |
|
| 查看次数: |
3686 次 |
| 最近记录: |