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

Incredible Demos

  • By
    Reverse Element Order with CSS Flexbox

    CSS is becoming more and more powerful these days, almost to the point where the order of HTML elements output to the page no longer matters from a display standpoint -- CSS lets you do so much that almost any layout, large or small, is possible.  Semantics...

  • By
    CSS Kwicks

    One of the effects that made me excited about client side and JavaScript was the Kwicks effect.  Take a list of items and react to them accordingly when hovered.  Simple, sweet.  The effect was originally created with JavaScript but come five years later, our...

Discussion

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