With the growing popularity of Pinterest, it’s likely that people will want to pin images from your blog. Maybe you’ve even installed a pin it button to encourage readers to share your posts. But what happens if there are certain images you don’t want readers to pin?
I can think of several instances when this could be the case:
- The image isn’t yours. People should pin from the original source and not your site.
- The image is personal. I don’t know about you, but I don’t want my face showing up on Pinterest.
- The image is part of your blog’s layout and therefore, there’s really no reason for anyone to pin it.
In order to block certain images from being pinned, all you have to do is insert this little bit of code into the html code of the image:
nopin = "nopin"
Your image code before would look like this:
And after adding that piece of code it would look like this:
<img src="your-image.png" nopin="nopin">
Obviously this solution is best on an image by image basis since it would be a lot of work to add the code to every image on your site. But what if you wanted to completely prevent pinning from your site?
If you use Blogger, look for the <head> and </head> tags in your site’s template file and paste this bit of code between them:
<meta name="pinterest" content="nopin" />
Now if anyone tries to pin from your site a little pop up will appear informing them that pinning isn’t allowed. If you’d like to customize this message, use this line of code instead:
<meta name="pinterest" content="nopin" description="Enter your new description here" />
For those who use WordPress, you can install a plugin such as Pinterest Block or you can use the Blogger technique. Just look for the <head> tag in your site’s theme files. For Genesis users, you can place it in your Genesis theme settings under header and footer scripts.
Hopefully this little bit of code will come in handy!