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.

#30 The First Rule Of Web Design

by jgraham

Monday January 20th, 2003 5:05 AM

You are replying to this message

Design for the web is not equivalent to design for print.

If the page author doesn't want their content altered in any way, they should be using a format like PDF. If they are going to use a format that is designed specifically with user-customisation in mind they can't complain if people exploit that customisation. After all, I can already turn images off or use img {-moz-binding:marquee;} in userContent.css (should I so desire, and if it would work), or use text zoom (very useful) or change all my text to be pink and blue or... This is a central concept in web design: the browser is indeed expected to render according to the standards, but the stanards explicitly specify that the *user* has a place in the cascade and may override the document authors preferences. It's not until people understand this that we have any hope of an accessiable web where sites *don't* break if text is zoomed, or they are displayed on a PDA screen (imagine viewing a 1024*768 or larger photo on a PDA. Do you see the problem?), or whatever else the *user* decides is the best way for them to understand the information being presented.