Tumblr: How to get Pinterest Widget to extract images of a photoset in Blog Post and Index Page

时光怂恿深爱的人放手 提交于 2019-12-08 08:30:26

问题


I would like to get the Pin It button to work on photosets: so when the pin it button is clicked, users can select an image from all the images from a photoset to pin. I am using the code provided by Pinterest widget generator and adding in tumblr variables as follows:

<a href="//www.pinterest.com/pin/create/button/?url={URLEncodedPermalink}" data-pin-do="buttonBookmark" ><img src="//assets.pinterest.com/images/pidgets/pin_it_button.png" /></a>

But when clicked it says "Sorry, couldn't find any pinnable things on this page." (You can see an example here: http://blog.kazoova.com/post/66130132457/driver-tuition-with-mike-cooper) Of course it would be ideal if I can get all images, but if not, even getting 1 image would be great too!

The other problem I notice is: on the index page of my blog (http://blog.kazoova.com/), if I click on the Pinterest widget, it returns me the image and description for the index page, rather than images for the specific blog post. How do I make it return me the images of a specific blog in the index page?

Many thanks for your help.

来源:https://stackoverflow.com/questions/19859140/tumblr-how-to-get-pinterest-widget-to-extract-images-of-a-photoset-in-blog-post

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!