Remove Internet Explorer’s Gallery Image Toolbar

By  on  

Long ago Internet Explorer introduced the Gallery Image Toolbar which places a toolbar over an image if you hover over the image for a second. I've never seen anyone use it and it is more of an annoyance than anything else. There are two ways to prevent the toolbar from displaying:

Inline IMG Tag Attribute

If you'd simply like to remove the toolbar from displaying over a specific image, you may add "galleryimg='no'" to the image tag as show below:

<img src="/graphics/image.jpg" alt="Image" galleryimg="no" height="100" width="100" />

ImageToolbar Meta Tag

The easier way to remove the annoyance is to place a META tag in the <head> section of your pages:

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

It's as easy as that!

Recent Features

  • By
    Regular Expressions for the Rest of Us

    Sooner or later you'll run across a regular expression. With their cryptic syntax, confusing documentation and massive learning curve, most developers settle for copying and pasting them from StackOverflow and hoping they work. But what if you could decode regular expressions and harness their power? In...

  • By
    Chris Coyier&#8217;s Favorite CodePen Demos

    David asked me if I'd be up for a guest post picking out some of my favorite Pens from CodePen. A daunting task! There are so many! I managed to pick a few though that have blown me away over the past few months. If you...

Incredible Demos

Discussion

    Wrap your code in <pre class="{language}"></pre> tags, link to a GitHub gist, JSFiddle fiddle, or CodePen pen to embed!