Pinterest自定义图像共享列表

时间:2013-12-23 17:41:45

标签: image customization social-networking pinterest

我正在尝试向我的网站添加自定义pinterest链接。

widget builder

<a href="javascript:void((function()%7Bvar%20e=document.createElement(&apos;script&apos;);e.setAttribute(&apos;type&apos;,&apos;text/javascript&apos;);e.setAttribute(&apos;charset&apos;,&apos;UTF-8&apos;);e.setAttribute(&apos;src&apos;,&apos;http://assets.pinterest.com/js/pinmarklet.js?r=&apos;+Math.random()*99999999);document.body.appendChild(e)%7D)());">

Someone's jsfiddle custom link

如何自定义我可以分享的图像?弹出窗口时,会出现几个不相关的图像(资产,图标等)。我如何选择其中的一部分。

我看过this example,但这似乎不对,因为它会抛出异常并且缺少文档。

1 个答案:

答案 0 :(得分:1)

有一个用于指定特定图像的URL变量(媒体)。答案在the official documentation