规则 / og-image-missing · 规则集 2026-07
缺少 og:image
| 规则 ID | og-image-missing |
|---|---|
| 严重程度 | 错误 |
| 分类 | 必需标签 |
| 平台 | 全部平台 |
| 需要人工处理 | 否 |
这是什么
缺少 og:image。OGKit 规则 og-image-missing(错误)。该 ID 是文档网址与 CI --disable 键使用的公开 API,请勿改名。
以下搜索词应指向本页:
Required tag og:image is missingmissing og:imageno preview image
为什么重要
没有图片的卡片吸引力很低,部分平台甚至会完全省略预览。
受影响的平台
全部 OGKit 平台资料,包括使用这些标签的主要社交、聊天与搜索爬虫。
各平台的爬虫预算与字段优先级详见平台行为参考。
如何复现
- Confirm no non-empty `property="og:image"` in the initial HTML.
- Paste the URL into a platform debugger; the card often has no image.
如何修复
提供至少 1200×630(1.91:1)的绝对 HTTPS 专用分享图。
修复示例:
<meta property="og:image" content="https://example.com/og/share.jpg" />