Protecting users from copy your image is big task. You put some restriction and later come to know that those images can be saved through some other technique.
Here are few measures to protect your images from being copied or saved.
Internet Explorer (IE) image place holder or image toolbar
IE6 has a feature to save images from a webpage. Whenever users moves the mouse on the image, a toolbar flyer pops out asking the image to save or print. You can avoid this by placing the below code in the HEAD section <head> .
<META HTTP-EQUIV="imagetoolbar" CONTENT="no">
You can also added the below attribute in the image tag “<img>” .
<img src="image.gif" GALLERYIMG="no">
Disable Right Click
Use the below script to disable right click menu. The script वोरà¥à¤•à¥à¤¸ well with almost all browsers.
Put the below script in head
<script language=JavaScript> <!-- //Disable right mouse click Script var message="Function Disabled!"; /////////////////////////////////// function clickIE4(){ if (event.button==2){ alert(message); return false; } } function clickNS4(e){ if (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){ alert(message); return false; } } } if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } else if (document.all&&!document.getElementById){ document.onmousedown=clickIE4; } document.oncontextmenu=new Function("alert(message);return false") // --> </script>