views:

243

answers:

6

hi

I have restricted right clicking option in my web page , But IN IE it shows Icons to Save Image, print , mail etc . I want to remove all of these . IS it possible ??

Does any one help me Immediately ...

+4  A: 

No it's not possible. The user can see the image in the browser and thus the browser (and the user) has a copy. You can try and restrict that with nasty (and ill-advised) right-click JS hacks and the like but ultimately if you send something to someone to see or read, what they do with it is beyond your control when you don't control the device they're using.

cletus
While true, this is not an answer to the question. Maybe an answer to the topic’s title, yes, but not to the actual question everything boils down to: “IN IE it shows Icons to Save Image, print , mail etc . I want to remove all of these . IS it possible ??”
Mathias Bynens
A: 

You cannot prevent the downloading of your images. Just by viewing them, the browser caches them.

Jonathan Sampson
A: 

If the browser can get it, then the user can somehow get it.

You could investigate using an HTML5 canvas or even (gasp) pixelized tables to render client-side.

Xepoch
Screenshot! There's simply no way around it :)
Jonathan Sampson
Yep, absolutely correct, if the data no matter how disseminated is pushed one can always pull it back.
Xepoch
+2  A: 

You can only do so much to prevent some users. To be near 100% foolproof, it's probably impossible. Even if you packaged the images in say, flash, java applet, it doesn't stop users from doing screencapture too.

There are few passive alternatives, e.g. using watermarks, putting up discalimers/warnings.

Here are some related SO posts:
How to disable right-click save on one specific image only
Disable “Save Target As” option in the right click menu
Prevent Save As Functionality

o.k.w
Upvoted for the suggestion of watermark
paan
+8  A: 

It seems like everyone else who answered here didn’t read the question.

I have restricted right clicking option in my web page , But IN IE it shows Icons to Save Image, print , mail etc . I want to remove all of these . IS it possible ??

Yes, it is possible to remove these icons. Just put the following in the <head> of your document.

<meta http-equiv="imagetoolbar" content="no" />

As mentioned in the other answers, users will still be able to get the images if they really want to, no matter how hard you try to prevent it. If you don’t want the images to be copied, you shouldn’t use them on a website.

Mathias Bynens
I think you hit the hammer on the nail! Shame on me for not reading the quetion carefully. :P
o.k.w
+5  A: 

It sounds like you're talking about the Image Toolbar in Internet Explorer. You can disable it with this code:

<html>
<head>
<meta http-equiv="imagetoolbar" content="no" />
</head>

</html>

Or, directly applied to an image:

<img src="test.gif" galleryimg="no" />
pygorex1