Disable image save

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 or section of your web page.

<script language=JavaScript>


//Disable right mouse click Script

var message="Function Disabled!";

function clickIE4(){
if (event.button==2){
return false;

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
return false;

if (document.layers){
else if (document.all&&!document.getElementById){

document.oncontextmenu=new Function("alert(message);return false")

// -->