How do you get the sharethis pinterest button to use the image that is on the node? When I click on the button it brings up a blank image despite there being an image on the page. The image is attached by a field.
How do you get the sharethis pinterest button to use the image that is on the node? When I click on the button it brings up a blank image despite there being an image on the page. The image is attached by a field.
Comments
Comment #1
soncco commentedTry http://drupal.org/project/pinit module
Comment #2
ShareThis Support commentedHi,
The latest ShareThis release uses native Pinterest implementation. So when you share to Pinterest, it will show all the images present on the node.
Comment #3
Chaulky commentedThis is a little misleading. I believe the Pinterest widget will use the image set in the og:image meta tag. Or, if that's not set, it will scan the page for images that are at least a certain size (I'm not sure what that size is though). If there's only one then you're all set. If there is more than one, it will show an overlay screen that allows you to choose which one you want to pin. So, you either need to configure the og:image meta tag (you can use the Meta Tags module for that), have only one image of over the minimum size, or set the st_image attribute on the Pinterest
<span>. For the last option, keep an eye on the Token Integration issue for ShareThis (http://drupal.org/node/1844674).