MozillaZine

Automatic Image Resizing Checked In

Sunday January 19th, 2003

David Illsley writes: "Yesterday saw the checkin of automatic image resizing (bug 73322) to the Mozilla trunk. When turned on (it's disabled by default) it shrinks any image that is bigger than the window to make the whole image visible. When this is done, the cursor over the image changes to tell you that if you click, the image is restored to full size. You get the best of both worlds! This currently doesn't have a prefs UI in Phoenix but if you put the appropriate pref in you user.js file, it works just fine. This is one of the few features in IE that I have seen and liked and it's great that Moz now has it too. Thanks guys."

To enable this feature in Mozilla, go to Edit > Preferences > Appearance and check the 'Enable automatic image resizing' box. If you're using Phoenix, add the following line to your prefs.js or user.js file:

user_pref("browser.enable_automatic_image_resizing", true);

Phoenix Help has more information about editing Phoenix configuration files.


#39 Bug 98971: Help Wanted

by tepples <tepples@spamcop.net>

Monday January 20th, 2003 8:51 AM

You are replying to this message

No, but there's a problem with manpower for implementing it. Bug 98971 <http://bugzilla.mozilla.org/show_bug.cgi?id=98971> describes a request to add bilinear interpolation to image scaling. It even has some sample code to do such interpolation. However, it's marked 'helpwanted'. If you wish to contribute a patch to Mozilla's image library, please do so.