About this Add-on

Bug 376997 added a stylesheet to top-level images that forces the background to black and centers the image. This extension removes the stylesheet, returning the background to your configured default and removing the centering.

There are also options for setting a custom background color or a checkerboard background, and for re-centering the image and removing the margin, so if you prefer some different combination of styles you can set that too.

Version 3.0.4 hangs if there are multiple spaces in a row in the image page title (from the filename, or with Greek and Luganda locales.) 3.0.5 fixes the hangs.

Override Firefox's built-in image resizing. This fixes the issues with images close to the viewport size not resizing when the page has margins.

Add option to change the background of the image itself separately from the page (useful for transparent images on dark backgrounds, or to make the background a checkerboard). Defaults to "white" unless you're upgrading from a previous version and had the "Checkerboard background" option turned on, in which case it defaults to transparent.

Support using the string "checkerboard" in page/image backgrounds to get a checkerboard background.

Development Channel

The Development Channel lets you test an experimental new version of this add-on before it's released to the general public. Once you install the development version, you will continue to get updates from this channel. To stop receiving development updates, reinstall the default version from the link above.

Caution: Development versions of this add-on have not been reviewed by Mozilla.