Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can you control pinterest's "find image" results?

Rather than add Pin It buttons through our site, I would like to simply control what images show up in Pinterest's "Find Image" results if a user decides to pin one of our URLs.

As of now, "Find Images" allows the user to scroll through the images it finds on the page so they can select which image to pin. The "found" images start with the first jpg in the html file, I'm assuming (could that be a bad assumption??). On our site, this forces a user to scroll through about 15 navigation and promotion images before arriving at the featured product image. Is there any way to specify this image to show first in those results? Maybe through a meta tag, or by adding a class or id to the element?

Without a public Pinterest API, this seems like just guesswork, but I wanted to see if anyone else has run into this, or solved this. Thanks.

like image 608
anthony Avatar asked Mar 27 '12 16:03

anthony


2 Answers

A lot of search results including the Pinterest Help Center talk about using nopin in HTML elements, which is invalid HTML. What they don't document is a data attribute to the same (well formed) effect.

<img src="foobar" data-pin-nopin="true" />

like image 182
austen Avatar answered Nov 19 '22 04:11

austen


Adding the nopin attribute will exclude the image from appearing on Pinterest:

<img src="..." nopin>
like image 9
Mitali Avatar answered Nov 19 '22 04:11

Mitali