【问题标题】:Pinterest images on page are not showing页面上的 Pinterest 图片未显示
【发布时间】:2016-08-02 05:13:15
【问题描述】:

我正在尝试在博客页面上添加Pin it 按钮。 AddThis 小部件正在用于此目的。

但是当我尝试使用 PIN 功能时,它并没有选择我页面上的所有图像。

图片标签如下

-- 被固定

<img src="images/blog/123_3710961211.jpg" class="blog-main-img">

-- 没有被固定

<img src="data:image/png;base64,v2nv1jcqS/VEhanlIJN8hnyDHoT4Z8FfAhX/g8EI9yHfLfPFQAAAA
BJRU5ErkJggg==" data-filename="Victor Vasarely positive negative space pic.png" 
style="width: 521px;">

让我知道错误是什么? Pin不包含数据图像吗? 我也尝试过使用另一个小部件,但结果相同。

我在某处读到img 的大小至少应为 100×200,但我所有的图片都大于此。

【问题讨论】:

标签: widget pinterest


【解决方案1】:

pinterest 不支持从 base64 图像固定,但是您应该能够将元标记设置为页面上未显示的实际图像

&lt;meta property="og:image" content="http://example.com/pic.jpg" /&gt;

【讨论】:

猜你喜欢
  • 2018-12-25
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2022-01-21
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多