【问题标题】:Unable to display image on Whatsapp when sharing a URL link共享 URL 链接时无法在 Whatsapp 上显示图像
【发布时间】:2022-01-22 04:09:18
【问题描述】:

我正在使用以下头部元标记:

<head>
<title>CJF Works Communications</title>
<meta name=”description” content=”The best choice for your marketing needs” /> 
<meta property="og:title" content="CJF Works Communications" />
<meta property="og:url" content="https://cjfworks.com" />
<meta property="og:description" content="The best choice for your marketing needs" />
<meta property="og:image” itemprop=“image” content=“https://cjfworks.com/logotype-whatsapp.jpg" />
<meta property="og:type" content="website" />
<meta property="og:image:type" content="image/jpg" />
<meta property="og:image:width" content="300" />
<meta property="og:image:height" content="300" />
</head>

我可以显示网站标题和描述,但不能显示图片。

【问题讨论】:

    标签: image url whatsapp


    【解决方案1】:

    您的图片不够大。如果你想让它出现在 Facebook 和 Whatsapp 上,它至少需要 1200x1200 像素。见Twitter Card - Image not showing - Webmasters Stack Exchange

    【讨论】:

    • 我设置了一个 1200x1206px 的新图像,没有任何区别。
    • 图片出现 404 未找到错误:cjfworks.com/logotype-whatsapp.jpg
    • 如果我查看您的主页,它有&lt;meta property="og:image" content="https://cjfworks.com/wp-content/uploads/2017/09/comm_bubbles.png" /&gt;,并且该图像只有 99x80
    • 你好。我仍然无法显示图像。修改代码如下:
    • 还是不行。不确定 comm_bubbles.png。没有图像显示。 Android 设备上没有格式化文本,只有超链接。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-03-13
    • 2020-07-27
    • 2016-07-19
    • 2019-11-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多