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
    fetch API

    One of the worst kept secrets about AJAX on the web is that the underlying API for it, XMLHttpRequest, wasn't really made for what we've been using it for.  We've done well to create elegant APIs around XHR but we know we can do better.  Our effort to...

  • By
    Convert XML to JSON with JavaScript

    If you follow me on Twitter, you know that I've been working on a super top secret mobile application using Appcelerator Titanium.  The experience has been great:  using JavaScript to create easy to write, easy to test, native mobile apps has been fun.  My...

Incredible Demos

Discussion

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