Alberty Innovations

Disable the Image Toolbar in IE by Using HTML Tags

As web developer, you may want to turn off image toolbar functions for an individual picture or all pictures on a Web page. This turns off only elements that use the <img> tag; it does not affect other graphics tags, such as <embed> or <object>, or the file type.

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">
<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 syntax to your Web page:

<meta http-equiv=”imagetoolbar” content=”no”>
<meta http-equiv=”imagetoolbar” content=”false”>

If you turn off Image toolbar functions for all pictures on a Web page, 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">
<img border="0" src="filename" galleryimg="true">

Note: If you use the galleryimg=”yes” attribute and you also use image mapping (usemap or ismap), the galleryimg=”yes” attribute overrides the mapping attribute, and the menu is turned on.

The only caveat is that this code will not validate as strict xhtml.

One Response to “Disable the Image Toolbar in IE by Using HTML Tags”

  1. vishal Says:

    very useful tip thanks very much

Leave a Reply