ImageFit, Scale Images Automatically In Firefox

Martin Brinkmann
Jan 26, 2011
Updated • Jun 9, 2017
Firefox, Firefox add-ons, Image

The Firefox web browser scales images automatically to fit the current browsing window. Users who do not like the behavior can take a look at our guide How To Disable Dynamic Image Resizing In Firefox to disable the feature. There are however other possibilities where images may need to be resized. This is for instance the case on forums where images break the forum layout when they are to large.

One way to resolve that issue is the ImageFit add-on for Firefox which has been designed for exactly that purpose. The extension "resizes large images in forum post and webpages" to automatically fit the layout of the site. It "shrinks images down to sit neatly within the existing layout of the page, using the surrounding elements as a guide".

The developer has created a demonstration page. The effect is best demonstrated by visiting the page once without the extension installed, and then again with it installed.

The image breaks the layout without the extension. A horizontal scroll bar is displayed on the screen which is needed to view the full image on the screen.

The same page with Image Fit installed and activated looks the following way:

The add-on improves the usability of web forums and websites where images that break the layout are often posted. ImageFit is compatible with all Firefox 3 and Firefox 4 releases.

Update: The demo page is no longer available, the link as been removed as a consequence. The Firefox add-on itself has not been updated since 2011, but it is still working with the latest versions of the browser.

The developer has added a blacklist to the application that blocks the extension from doing it deeds on domains added to it. The blacklist is maintained in the about:config configuration. Locate the parameter extensions.imagefit.domainBlacklist and double-click it to add domain names to it separated by comma.


Tutorials & Tips

Previous Post: «
Next Post: «


  1. Ken Saunders said on January 27, 2014 at 10:28 am

    I read your article for JPEG & PNG Stripper (tried the program), and that seems to work pretty well.

    I don’t use (as far as I know) any of CNET’s sites or services any longer.

    Metability Software’s website >
    Metability ® QuickFix for Microsoft Windows® ( previously known as FileMind® QuickFix)

    I downloaded it, but I haven’t installed it.

    Thanks for the info and article.
    See, I don’t just come here for the Firefox content.

    One more thing, I like being logged in here and not having to fill in info to comment. :)

    1. Martin Brinkmann said on January 27, 2014 at 2:30 pm

      The reason why I did not post the site link directly was that Bitdefender blocked the site for me. That’s also the reason why I wrote today’s second article, ha ;)

      1. Ken Saunders said on January 27, 2014 at 2:43 pm


  2. GK said on January 27, 2014 at 9:45 pm

    I use Imagemagick’s Mogrify from the command line.

  3. Design Instinct said on January 28, 2014 at 6:56 pm

    Photo Demon is a cool portable image editor/batch processor. It has a default setting in options to strip some or all of the EXIF data. Once set, you don’t have to remember to strip your data each time.

    Version 6.2 is coming out soon. You can test out the beta. He’s getting rid of the MDI interface.
    Also going to be fixing a bug with high DPI mice. 6.2 crashed on me due to this.

    6.0 is rock solid though. Very nice program.

    Martin, you may want to review it.

  4. ozone333 said on February 1, 2014 at 6:02 pm

    The download link from CNET only provides a stub installer. The way I used to get the actual file without the stub installer was to go to .

  5. webfork said on May 24, 2015 at 10:08 pm

    FileOptimizer also zaps JPEG and PNG metadata: … as well as cutting down dramatically on file size.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.