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:
<img src="your-image.png">
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!
I never knew you could do this! Thanks for the tutorial!
-Sharon
The Tiny Heart
PayPal Giveaway!
Very helpful. Thank you.
I had always wondered about this!! Brilliant tips!
This is great to know! Once I finally get the Pin It button installed, I’ll have to work on making sure things can’t be pinned! lol
OMG thank you!
Thank you for the info. I have been trying to figure out how to get my affiliate link pictures off the pin page for blog. Now they are!
So helpful! I’ve been afraid to post some personal photography because I’m not ready for it to be all over Pinterest. Thanks for sharing!
Thanks so much for this information. Since I have my personal and family photos on my website, I really needed this information. Sure am glad I got it before it’s too late! Thanks Again!
Kendria A. a.ka.
Product Review Queen
http://www.productreviewqueen.com
THANK YOU!! I am so sick of people pinning off my sidebar!!!
I was SO happy to find this! I am sick to death of OUR stuff being all over Pinterest. I have a Blogger Blog. I was so excited to have the code and put it up…But sigh, I guess I am not as computer savvy as all the rest of you. I feel quite dumb…I went into the template, but no way could I figure out where this was supposed to go. I was terrified of just ruining my blog, so I couldn’t add it. Sure wish I had someone here that could help….
I did see several , but not right together. There was a lot of code in between…
I am totally out of my league, so I am so disappointed. I desperately wanted this code, and looked for it for quite awhile!
This worked great! Thank you!
Just what I needed, thanks so much. 🙂
Thank you so much for this info Allyssa 🙂
Some images can be shared and spread around the net but there are a few that I definitely would not mind keeping to myself. View it and leave it! Thank you!
You’re welcome! I’m glad this came in handy for you!
Soooo helpful! My social media icons kept showing up as pinnable photos and it was bugging me so much. This worked like a charm. Thank you!!
You’re welcome! Glad I could help!
Do you have to put this code in for each individual picture?
Yes, the code gets added to each picture that you don’t want pinned. If you want to block pinning completely from your site, you use the second code listed to block everything. If you go that route, then you won’t have to add code individually to each image.
hello, thank you for sharing. but I wonder how can I remove the original ‘pin it’ button from my summary posts, for example.. http://mellowjourney.blogspot.my/search/label/cafe%20and%20restaurant#.VgDKZN-qpBf // my blog have 2 ‘Pin it’ buttons on the photo. Thank you!
Hi Lissa. The pin it buttons aren’t showing up on my end. Could it maybe be from a browser extension?
Thank you for checking out.
I already solved the problem yesterday.
but I got another new problem with the thumbnail photo and post excerpts length 😀
Thanks again!!
http://mellowjourney.blogspot.com
Well how do I selectively disable pins on images from third party sites like (related content widget, etc)
Depending on the plugin you use, they might have an option of classes to exclude. You’ll have to use the inspect element tool or a dev tool such as Firebug to find out the class that’s being applied to those third party images, then enter that class in the appropriate plugin field.
Very clear instructions, and it works really well – thanks so much 🙂
You’re welcome!
Thanks!! This is just what I have been looking for for our roundup posts!
Adding nopin = “nopin” to my img tags, doesn’t work at all the image is still be able to be pinned.
Hmmm, not sure why it doesn’t work. Here’s Pinterest’s page on blocking images: https://help.pinterest.com/en/articles/prevent-people-saving-things-pinterest-your-site Maybe that’ll help.
SImple people could copy the source url for the image and then pin that and get around that nopin meta.
Great post – thanks!
Question…is there a way to add this code to prevent pinning of an image when you have one loaded into Social Warfare as the featured FB image?
You should still be able to use the do not pin code on all images in a post while uploading an image to Social Warfare. They shouldn’t affect each other.
Thank you very much. Worked perfectly!
Hello,
Thanks for this post, however the code does not work in my site.
I use Genesis theme, and I have tried the code in the header script, I have tried it in the header widget area, I have tried the code in header.php just above but nothing stopped pinterest from saving my articles.
Plugin pinterest block comes up in wordfence security with a warning that it hasnt been updated over the last WP updates and appears abandoned
“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 tag in your site’s theme files. ”
The problem with this is wordpress uses php code, so the files dont have the old tags , they start with <?php and inserting code somewhere without knowing what you are doing could produce a nasty surprise