Browser.chrome.image icons.max size
Contents
Background
To help users differentiate between images loaded in tabs, Firefox sets the tab icon (and the icon in the Location Bar) to a small version of the image. Early tests of this feature revealed performance problems; to address this, Firefox only shows the image’s thumbnail in the tab and Location Bar if the image is smaller than a certain size. This preference determines the cutoff.
This preference may become obsolete in the future if bug 305986 is fixed. (This bug is fixed in SeaMonkey since 2008-09-25. The fix may or may not have been ported to Firefox.)
Possible values and their effects
This preference takes a positive integer. If an image’s width or height is greater than this number, the default icon is displayed instead of a thumbnail. The default value is 1024. Setting it to 0 will disable image thumbnails.
Caveats
- Setting this value too high can result in poor performance (i.e., choppiness, poor UI responsiveness, memory leaks, etc.)
- browser.chrome.site_icons must be set to true for this preference to have an effect.
Recommended settings
The default value should be a good compromise between performance and usability. If you experience slowness when viewing images less than 1024 pixels high or wide, however, you may want to decrease the value of this preference (or set it to 0).
First checked in
2005-08-25 by Vladimir Vukicevic
Has an effect in
- Mozilla Firefox (all versions since 1.5 Beta 1)
- SeaMonkey (all versions)
Related bugs
- Bug 125998 - use image thumbnails as favicon, tab-icons or url-icons
- Bug 304561 - Firefox unsuitable for browsing high-res image galleries due to preview on tab icon
- Bug 305986 - Show thumbnail for large image pages and bookmarks to images
- Bug 325838 - Don't show image thumbnail on tab icon if browser.chrome.site_icons is false