Center Image brings Firefox's image viewer to Google Chrome - gHacks Tech News

Center Image brings Firefox's image viewer to Google Chrome

Center Image is a free browser extension for the Google Chrome web browser that changes the design of the browser's image viewer to that of the Firefox web browser.

The default image viewer of Google Chrome displays images in the top left corner of the screen on a white background.

While functional, the layout and choice of color on the page may not be ideal depending on time of day, the size of the Chrome window and the size of the image.

Small images are displayed in the top left corner for instance while the remaining page is left in white which highlights two of the main issues.

First, you need to move your eyes to the location the image is shown in, and second, the white may be too bright at night or early in the morning.

Center Image

Center Image changes the default image viewer of the Chrome browser to that of the Firefox web browser. The two screenshots below highlight the difference in layout and design.

Default Chrome Viewer

chrome default image viewer

After installation of the Center Image browser extension

center image viewer

As you can see on the second screenshot, the image is centered and the background is changed from white to black.

It is a basic change, and all the extension does actually is modify some CSS styles for the effect.

Caveat: Due to Chrome's broken permissions' model, the extension requires access to any site that gets opened in the browser. A quick check of the manifest file reveals that the author has limited this to image-like urls, but the installation dialog does not reflect that choice.

The author noted on Reddit that there is nothing that he can do about it until Google adds an option to Chrome that restricts the loading of extensions to specific mime-types which would resolve the issue.

Chrome users who don't want to install the extension because of the permission that it requires may want to check out a userstyle created for the browser instead which centers images and changes the background of the page as well when they are viewed directly in the browser.

The style requires the Stylish extension for Chrome however which needs to be installed in the browser.

Closing Words

The usefulness of the extension depends largely on whether you are viewing images in Chrome regularly, and whether those images are displayed in the browser's default viewer or a site-specific viewer.

Some sites display images in their own custom build viewer which makes it difficult to display them in the browser's image viewer instead. There is usually a way, but it often makes little sense to go through the procedure unless the site's viewer is particularly bad or lacking.

An alternative for Chrome is Image Autosizer which gives you more control over the image viewing interface. You can use it to set a custom color for the background, and define exactly how images should be displayed on the screen among other things.

software image
Author Rating
2.5 based on 8 votes
Software Name
Center Image
Software Category
Landing Page

  • We need your help

    Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

    We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats (video ads) or subscription fees.

    If you like our content, and would like to help, please consider making a contribution:


    1. Dave said on February 22, 2016 at 5:58 pm

      Couldn’t you do this in Stylish? Doesn’t Chrome have Stylish?

      1. Martin Brinkmann said on February 22, 2016 at 6:01 pm

        Yes, you could in theory go through the code, extract the CSS, install Stylish and create a new style using the code.

      2. said on February 25, 2016 at 5:57 pm

        Author of the extension here, I extracted the style and published it on

        I made an extension to make it easy for people to install it.

        1. Martin Brinkmann said on February 25, 2016 at 6:00 pm

          Thanks, this should be useful ;)

    2. Dwight Stegall said on February 22, 2016 at 6:05 pm

      Center Image is buggy as hell. It worked fine yesterday but not today.

      1. said on February 25, 2016 at 5:45 pm

        Hi, author of the extension here, can you tell me an example of where it doesn’t works ? With the latest update it should be very solid.

        PS: thanks to Martin for the article

        1. said on February 25, 2016 at 6:15 pm

          Discovered the bug, it’s gonna be fixed very soon. Here’s the ticket:

    3. Tom Hawack said on February 22, 2016 at 6:22 pm

      Viewing a 16×16 icon image in the upper-left corner, haha!
      I’m always stunned to notice the gap between poorly processed basic functions like image viewing and top-notch innovations, when 90% of users call for good basics …
      Here on Firefox, the browser’s default handling of images + Viewhance add-on and images are nicely viewed, then handled.

      1. Martin Brinkmann said on February 22, 2016 at 6:25 pm
    4. Terry Cunningham said on February 24, 2016 at 5:30 pm

      I’m not sure what benefit this is to me ? Any ideas ?

      1. Martin Brinkmann said on February 24, 2016 at 5:51 pm

        Well it depends. You may prefer a centered view or a dark background when viewing images as it may feel more natural to you than having to view the image in the upper left corner (if it is small).

    Leave a Reply