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.


#28 Re: The Worst of IE, Coming to Mozilla

by AlexBishop <alex@mozillazine.org>

Monday January 20th, 2003 4:31 AM

You are replying to this message

"For owners of web sites, automatic image resizing is *not* optional."

It's as optional as it is for everyone else.

"Their content is being deliberately altered, possibly distorted, and mispresented without their permission and without the user being aware of it on a per incident basis. (I know, the option must be clicked on, but "automatic" means that the user doesn't necessarily know when resizing is occurring.)"

I hear that sometimes Mozilla replaces images with alt text as well. Shocking!

"As someone else alluded to, this could possibly result in copyright violations. The browser, playing the middle man between content developer and viewer, is entrusted by both sides with rendering content faithfully according to accepted standards and *expected behavior*."

I would say resizing a publicly-available image so it fits in the browser window and not distributing the altered image constitutes fair use.

"The developer is left completely out of the loop, and the viewer doesn't know what images have been automatically resized without mousing over every single suspiciously large image."

Uh, the images won't be suspiciously large, they'll be just the right size to fit in the browser window. This feature only affects standalone images that are loaded into the browser (i.e. not images on Web pages) and only shrinks images that would be too large to fit otherwise.

"If automatic_image_distorting is really going to stay in Mozilla, then there should at least be a Meta tag for web developers to prevent their images from being shrunk."

Yes, it should be implemented right after they've done the meta tag that allows developers to disable pop-up blocking.

Alex