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.


#41 Suggestions...

by SomeGuy

Monday January 20th, 2003 9:24 AM

You are replying to this message

As someone with a web site that has many large computer desktop screen shots I am not sure I like this feature as it is right now. At least it is not on by default. Viewers of my site may think the resized image is the actual image and that I have resized it poorly, and they already click on a thumbnail image to get to the actual image. As these are screen shots I prefer that my viewers see them pixel-for-pixel as they were captured from the origional system. On the other hand this would let them see the entire image at a larger size without having to scroll.

To make this more useful I would suggest the following: 1: Anti-alias the resized image 2: It needs some additional indication of what to do. At least a message like "Click the image to resize" in the status bar seems logcal to me. 3: Zoom in on the section clicked on. For example if I click on the lower right it should zoom in scrolled down to the lower right. 4: Once zoomed how about being able to grab the image and drag it around instead of scrolling?

-- Posted using Mozilla build 2003011908 under Windows NT 3.51 SP 5. No, I am not joking although I must be crazy for trying this.