how to protect images padlock

How To Protect Images with Ease and Simple Way [Quick Trick]

How to protect images in my website from being copied? maybe this is a question of yours.

It’s quite impossible to protect your images that are posted on your blog from being copied by somebody. Just simply doing right click and “save image as” anybody can easily take your images with just a few seconds.

Here is a simple trick on how to protect images with ease and simple way.

This quick trick is really simple on “how to protect images“, where the results of the image that is trying to be downloaded will be just a form of a blank image. It’s really simply tricky!

To prove this trick, please try to ‘save’ image below. Just doing ‘right-click’ and ‘save image as’.

The picture 1 below is an image that is not protected by code.

how to protect images

Picture 1: How to Protect ImagesNon protected image

And the picture 2 below is an protected image.

how to protect images

Picture 2: How to Protect Images – Protected image

By applying a simple code below you can protect your images from being copied.

<img style=”background-image: url(‘http://smashingfree.com/wp-content/uploads/2012/08/how-to-protect-images-iphone-5.jpg’);” src=”data:image/gif;base64,R0lGODlhAQABAIAAAP ///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==” alt=”” width=”485″ height=”330″ />

Look at the code. It’s only change ‘src’ attributes and use CSS style directly on the image. This protecting images trick will create a blank image.

Please make sure ‘width’ and ‘height’ in the code are same with the original size of ‘width’ and ‘height’ of the image.

Remember, this “How To Protect Images” trick is one of so many tricks that you googling on the internet. Hopefully this is usefull to protect your images on your blog.

(Visited 7 times, 1 visits today)

Article written by Hendri Syahrial

Hendri Syahrial is a writer & webpreneur. Love to collect good links from anywhere on the internet. Find more about Hendri Syahrial on his Google+ page.

Be the first to comment

Leave a Reply

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