Standalone Images Displayed on Dark Background Firefox 11/12

As I am getting caught up in the Firefox Builds forums, came across an odd (and not good) change to Firefox Aurora 11 (11.0a2) and Nightly 12 (12.0a1). A patch related to Bug 376997 makes it so that when an image is viewed by itself (either via right-click > View Image or putting the image URL in the address bar) the image will be centered on a black background. An example can be seen on </Glazblog>. Below is an example I created using Ken Saunders Mozilla Snow Globe image as viewed in Firefox 10 Beta and Firefox 11 Aurora.

Viewing Images In Fx 10 or Older

Viewing Images In Fx 11 or Newer

Rob64Rock has suggested using the ImageTweak add-on to (somewhat, as it creates a new problem) fix this problem. With this add-on the image will be displayed centered on a neutral (grey) background or you can choose your own background color. However, since the ‘patch’ landed on Aurora the alignment is a bit off in Firefox 11 Aurora (11.0a2) and Nightly 12 (12.0a1), but does display correctly in Firefox 9 as well as Beta 10 (10.0b1).


Comments

Standalone Images Displayed on Dark Background Firefox 11/12 — 17 Comments

    • Some images do not display well on the dark background. The original intent of the bug was to have images display on a neutral background (grey), but some how has now ended up becoming a black background.

      • I hate this new feature in Firefox. As a graphic designer, I used Firefox to preview web page comps. Seeing them in an actual browser on a white background allowed me to quickly and very accurately see what the final page would look like. Now, I have to actually make a HTML comp viewing template, which isn’t horrific but is rather annoying. I miss being able to drop my comps into Firefox from Windows Explorer and preview them this way. I wish I could disable this.

    • Why break what’s fixed?

      It’s completely illogical. New isn’t always better simply because it’s “new”.

  1. WHat happens when you print the image? I hope the image is displayed without the background and is aligned to top left?

    Firefox was a good browser… now I use Chrome cause all these shitty changes, incompatible addons, missing status bar and menu, the idiotic high update frequency and lots of bugs and memory consumption problems.

    This is the result when students and geeks developing productivity software…

    • I have not tried printing images, something I have never had a need to do. In regards to some of the complaints of Firefox such as the “missing’ menu and status bar, those can easily be displayed again via the View menu. Add-on compatibility as gotten a lot better. Chrome is updated just as much as Firefox if not more. You just don’t know it as Chrome doesn’t use version numbers and also it updates silently in the background (something that Firefox is going to be doing soon). I’ll give you bugs are still an issue and will likely always be, but that is the case with any piece of software. Memory consumption on the other hand has been greatly reduced with Firefox 8.

  2. i’ve found the solution without use the extension:
    Close Firefox
    Go to C:\Programs..\Mozilla Firefox
    Open omni.ja with winrar
    After opened the archive go to res and copy out (to the desktop) the file called TopLevelImageDocument.css , open it with notepad
    search the string “background-color:” and replace “#222” with “#FFFFFF”
    save the file and copy the file in the omni.ja

    • Perfect! Thank you so much for sharing this.

      It’s sad when people have to take time to create a fix for a “feature” that does nothing but degrade the original experience.

      I’m a webdev too, and I often have to tweak or provide alternatives for cms images that I don’t have the source for. Trying to get a look at shadows or backgrounds on a dark background is almost impossible.

  3. Pingback: Old Default Image Style | Firefox Extension Guru's Blog

Leave a Reply