Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stopping IE from saving an image 1

Status
Not open for further replies.

Darksyre

Programmer
Dec 25, 2002
4
US
I'm trying to stop IE from bringing up the context menu when the mouse is over an image with Save, Print, Email, etc.

I've used JavaScript to disable the right-click but have no clue how to stop everything else and would like ASP to help me.

TIA,

Darksyre
 
Hi,

You can add Querystring to the img src tag of the image such as <img src=img1.img?id=9>

This id=9 can be any unique random number which would force the browser to reload the image.

Best Regards,

Darpan Kumar Gogia
aviint@yahoo.com
 
Don't forget that with Microsoft Internet Explorer's new Image Toolbar that appears when the cursor is over an image, a user can now save the image anyway.

Does anyone know how to stop this?

May
 
Place this in the head section of your page:
Code:
<meta http-equiv=&quot;imagetoolbar&quot; content=&quot;no&quot;>

that should keep the image toolbar from showing up.

-Tarwn Experts are only people who have realized how much they will never know about a language.
________________________________________________________________________________
Want to get great answers to your Tek-Tips questions? Have a look at faq333-2924
 
Woohoo! can can can I be the wittle bwight blue one that the wittle alien pwanets go round?

:p
Thanks,
-Tarwn Experts are only people who have realized how much they will never know about a language.
________________________________________________________________________________
Want to get great answers to your Tek-Tips questions? Have a look at faq333-2924
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top