Protecting images on your website by code.
As I mentioned in my previous blog that you have to make some editing on your downloaded images (and even the created ones) in order to prevent from illegal copy.
Here I'm going to mention some tricks with the code, that could keep away a curious amateur who is trying to copy your photos...
1- To disable the image tool bar on your internet browser you can use this meta tag in the head part of your HTML...
2- To disable the right click on a whole page with no message, add this to the body tag on your HTML...
3- To disable the right click on a whole page with message alert, put this script in the head of your HTML...
4- To prevent from image drag in a new window or any direct right click to save, put the image as a background of a tag and put a transparent GIF pixel as a front image (of course dimensioned the same as your image on the background).
5- Use PHP embed images... Various ways of making code.
6- Use Adobe flash to browse images so they won't be copied with any kind of right click or page source...
7- This is the strongest one! Use an encrypting program that can encrypt all your code and with options like disable printing and Print Screen button.
(I had a demo from a computer magazine called HTML Guardian and it really works! White sheet of paper came out when I sent the page to print...)
* Attention that the first 6 are breakable!
I just mentioned them to prevent from any amateur as I said before :)
The 7th I still didn't find a way to break it :))
If you know any other way to prevent images by code, please post it here...
Photo credits: Maen Zayyad.
- The most beautiful 5 places in the Republic of Moldova
- The language of colors
- Give a Little Whistle: Bird Call Playback and Photography
- Using Colors to drive your sales
- Tip of the week: Photography basics - Aperture
- I need to get out more. Some background information
- Tip of the Week: Using a Pin Hole Camera
- Professional Portfolio: How to Frame Your Photographs