How to prevent images and photos from being stolen your site - Digital Tool Factory blog How to prevent images and photos from being stolen your site - Digital Tool Factory blog

How to prevent images and photos from being stolen your site

they're welcome 2itThe Problem: You need to prevent people from saving images and photos that are featured on your website

The Cause: There is no real solution to this – if you can see it online, you can copy it, but you can make it more difficult.

The Solution: Insert this bit of code in your BODY

tag ondragstart=”return false” onselectstart=”return false” oncontextmenu=”return false”

that’s it!

Thanks to HyperGurl for the initial start on this problem.

Creative Commons License photo credit: weegeebored

 

This post originally appeared on the Stronico blog – with the absorption of Stronico into Digital Tool Factory this post has been moved to the Digital Tool Factory blog

 

Written By Steve French

 

Leave a Reply

Your email address will not be published. Required fields are marked *






Copyright 2011 Digital Tool Factory. All Rights Reserved. Powered by raw technical talent. And in this case, WordPress.