The EWJ Database > When I'm Bored Script Series > Disabling the IE6 Toolbar

You are  here. IE6 Image Toolbar

The IE6 "My Pictures" Toolbar

Perhaps this feature was put in to make it easier to save pictures, but it has copyright owners calling "Foul".  For all those who hug their copyright every morning (okay, so I'm overdoing it), here is information on how to disable it on a page, a picture, or even force it to appear.

Disabling the Toolbar on One Picture

If you want to disable the toolbar on only a few pictures or just one (maybe the toolbar annoyingly appears on your site header, or something), here is some code to insert in your <IMG> tag:

<IMG SRC="url" GALLERYIMG="NO">

Because the toolbar only affects images that are larger than 130 by 130, you do not need to put this tag on pictures smaller than the given dimensions.

Disabling the Toolbar on One Page

If you want to disable the toolbar on one page, then put this code between your <HEAD> tags.

<META HTTP-EQUIV="imagetoolbar" CONTENT="NO">

If you run an HTTP server, you can probably edit your server configuration files to send the "imagetoolbar" = "no" with your HTTP headers.

Forcing the Toolbar to Appear

Just change the "NO" to "YES".  Isn't that simple?  Here it is in code:

<IMG SRC="url" GALLERYIMG="YES">
<META HTTP-EQUIV="imagetoolbar" CONTENT="YES">

Maybe it is the simplest thing you can do to defend your copyright.