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
    7 Essential JavaScript Functions

    I remember the early days of JavaScript where you needed a simple function for just about everything because the browser vendors implemented features differently, and not just edge features, basic features, like addEventListener and attachEvent.  Times have changed but there are still a few functions each developer should...

  • By
    Create Namespaced Classes with MooTools

    MooTools has always gotten a bit of grief for not inherently using and standardizing namespaced-based JavaScript classes like the Dojo Toolkit does.  Many developers create their classes as globals which is generally frowned up.  I mostly disagree with that stance, but each to their own.  In any event...

Incredible Demos

Discussion

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