How To Stop Your Users To Easily Copy Images from Your Website

Learn about a simple trick that may prevent people from casually copying or even hot-linking to images and photographs hosted on your website.

If you don’t want other people to download images from your website, don’t put them online because – the way the web works – it is almost impossible to prevent someone from copying or saving your images.

However there’s one little trick that may discourage the less-technical people from casually copying, or even hot-linking, to your web images. To give you an example, try saving the following image to your computer using the standard “save as” option.

The “save picture” option under right-click is still available for the above image but instead of downloading the actual photograph, all it would save is a blank image. Also, the URL for the image (under Properties) would appear as some junk characters (it’s called a data URI) and thus would deter the non-techies from hotlinking to that image.

Here’s how you may implement something similar for your own images:
 
The standard embed code for an image looks something like this:

 
What you need to do is change the value of the src attribute to point to a blank image and then add a new style attribute to render the actual image.
Also make sure that the value of the height and the width parameters are exactly the same as the actual image.

 
This is like overlaying a completely transparent screen over your photograph and anyone trying to save the image will end up downloading that screen instead of the image.Obviously, there are simple workarounds to get around the above method. For instance, a copy of the full image will still be available in your browser’s cache. You may look at the HTML source or may even save the image using screen capture but again, these techniques may not always be known to the non-technical users of your website.

Filed in: How To Tips, Internet Tips Tags: , , ,

You might like:

How To Protect Your Content From Being Copied Easily How To Protect Your Content From Being Copied Easily
How To Involve Yourself In Blogging And Make It Interesting How To Involve Yourself In Blogging And Make It Interesting
Just Drag And Convert Time Zones Easily Just Drag And Convert Time Zones Easily
How To Download Your Complete Facebook Data How To Download Your Complete Facebook Data

Leave a Reply

You must be Logged in to post comment.

© 2958 EnterWebHub. All rights reserved. XHTML / CSS Valid. XML Sitemap
.
Wordpress Themes -
Key navigation plugin by Jaspreet Chahal