How to Disable Automatic Image Resizing in Firefox
In this article
Firefox automatically shrinks large images to fit your browser window, which is handy for casual browsing but annoying when you need to see every pixel. To stop it, open about:config, search for browser.enable_automatic_image_resizing, and set it to false. That single toggle disables the fit‑to‑window behaviour for all images, so they display at their true size and you scroll to see the rest. The change takes effect immediately and persists across restarts.
What You'll Need
- Firefox on desktop (Windows, macOS, or Linux). The setting is not available on Firefox for Android or iOS.
- Access to the
about:configpage — no extensions or developer tools required. - A basic comfort with editing advanced preferences; you can always reset the value if needed.
Step-by-Step
- Open a new tab in Firefox and type
about:configinto the address bar, then press Enter. - If a warning page appears (“Proceed with Caution”), click the Accept the Risk and Continue button. This page is standard for advanced settings.
- In the search box at the top of the
about:configpage, typebrowser.enable_automatic_image_resizing. The list will filter to that single preference. - Look at the Value column. It is likely set to
true. Click the Toggle button (or double‑click the row) to change it tofalse. - Close the
about:configtab. The change is saved automatically; no restart is needed. - Test it by opening a large image (for example, a high‑resolution photo from a image‑hosting site). It should now appear at full size, with scrollbars if it exceeds the window.
Labels in about:config can differ slightly between Firefox versions, but the preference name is stable. If you cannot find the preference, make sure you typed it exactly, including the dots.
Common Mistakes
- Editing the wrong preference. There are similar‑sounding settings (e.g.,
browser.enable_automatic_image_resizingvs.image.resize‑related flags). Only the first one controls the fit‑to‑window behaviour. - Expecting the change on mobile. Firefox for Android and iOS do not expose
about:configor this preference; the steps apply to desktop only. - Forgetting to click Toggle. Typing in the search box only filters the list; you must actually change the value.
- Assuming a restart is required. The setting applies immediately; if an image still looks resized, refresh the page.
- Confusing zoom with resizing. Browser zoom (Ctrl + / Cmd +) scales the whole page, including images. Disabling automatic resizing only stops Firefox from shrinking images to fit the window.
Tips
- To restore the default behaviour later, return to
about:config, search for the same preference, and toggle it back totrue. - If you often need full‑size images, consider using a dedicated image viewer extension from the official Firefox Add‑ons site, but the built‑in toggle is the simplest fix.
- You can also right‑click an image and choose View Image to open it alone in a tab; with resizing disabled, it will display at native resolution.
- Keep a note of any
about:configchanges you make; Firefox does not provide an undo history for them. - If you use Firefox Sync, this preference is not synced across devices — you must set it on each desktop installation.
Troubleshooting
If images still appear resized after toggling the preference, work through these checks in order:
- Refresh the page. Some sites cache the resized version; a hard refresh (Ctrl + F5 or Cmd + Shift + R) forces a reload.
- Verify the value. Reopen
about:configand confirm the preference showsfalse. If it reverted, another setting or an extension may be overriding it. - Check for conflicting extensions. Disable image‑related add‑ons temporarily (Menu > Add-ons and themes) and test again.
- Try a new Firefox profile. If the issue persists, create a test profile via
about:profilesto rule out profile corruption. This does not delete your existing data. - Update Firefox. An outdated version may have bugs; use Menu > Help > About Firefox to check for updates.
If none of these work, the site itself may be forcing a resize via CSS (e.g., max-width: 100%). In that case, the browser setting cannot override it — the image is being scaled by the page, not by Firefox.
Frequently Asked Questions
Does disabling automatic image resizing affect page zoom?
No. Page zoom (Ctrl + / Cmd +) scales the entire page, including text and images. The preference only stops Firefox from shrinking large images to fit the window when they are viewed directly.
Will this setting sync to my other computers?
No. about:config preferences are not included in Firefox Sync, so you need to change it on each desktop installation.
Can I disable resizing for just one image?
Not through this preference. It is global. However, you can right‑click an image and choose View Image to open it in a new tab; with resizing disabled, it will show at full size.
Is it safe to change about:config settings?
Yes, as long as you only change preferences you understand. The page is intended for advanced users, and toggling this specific preference is low‑risk. You can always revert it.
Why does the preference not appear in my search?
Make sure you typed the name exactly: browser.enable_automatic_image_resizing. If it still does not appear, your Firefox version may have renamed or removed it; check the Mozilla support site for your version.
Does this work on Firefox for Android or iOS?
No. Mobile versions of Firefox do not expose about:config or this preference. The setting is desktop‑only.