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

About the author

Steve French Steve is the President and lead developer of Digital Tool Factory and currently provides all technical development for DTF. Digital Tool Factory has provided behind the scenes technical muscle to the Atlanta design community since 2002.Google+ Profile

 

Written By Steve French

 

Leave a Reply





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