Forum Moderators: open
I personally use Opera for browsing but most customers use IE6+, of course.
Yesterday I saw on a customers PC a little icon or toolbar coming up while he hold the mouse cursor over a large image. This toy let the user choose to save or even print the current image under the mouse.
Is there a HTTP tag to prevent this? I don't know why but I do not have that unwanted feature on my IE but I think most people have.
Here's the meta you're looking for:
<meta http-equiv="imagetoolbar" content="no">
That takes care of things on the server side... On the client side, to disable the Image Toolbar in IEv6 select:
Tools -> Internet Options -> Advanced -> Enable Image Toolbar (under the Multimedia heading)
(I believe this "feature" is only available in IEv6.)
If you want to turn off Image Toolbar functions for individual pictures on a Web page, use the following <img> syntax for the picture:
<img border="0" src="filename" galleryimg="no">
-- or --
<img border="0" src="filename" galleryimg="false">
If you want to turn off Image Toolbar functions for all pictures on a Web page, add the following <meta> syntax to your Web page:
<meta http-equiv="imagetoolbar" content="no">
-- or --
<meta http-equiv="imagetoolbar" content="false">
If you have turned off Image Toolbar functions for all pictures on a Web page, then you can enable them for individual pictures by setting the galleryimg attribute to "yes" or "true", using the following <img> syntax:
<img border="0" src="filename" galleryimg="yes">
-- or --
<img border="0" src="filename" galleryimg="true">
> <img border="0" src="filename" galleryimg="no">
Since the galleryimg attribute is a Microsoft/IE-only extension to the <img> element, this will break page validation if you use it (and care about that sort of thing).
W3C Markup Validation Service [validator.w3.org]