Open Bug 308059 Opened 19 years ago Updated 15 years ago

Automatic image scaling improvement (zoom to fit, fit single dimension, full size)

Categories

(SeaMonkey :: UI Design, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

People

(Reporter: csthomas, Unassigned)

References

()

Details

Attachments

(2 files)

For large images (particularly panoramas, such as
http://mstu.cz/~martin.podstata/panorama/p_cerna%20hora%20panorama%20ultra%20wide.jpg
) the current image scaling isn't very useful.  The scaled image makes
everything way too small, and the unscaled image is too big.  For panoramas, a
better scaling would be one that makes the height of the image about the height
of the window.  For very tall images, it should be possible to scale them so the
width fits the window.  Since there's no single best option, a slider would
probably make sense.
Attached file patch part 2
The rest of the code.
This would be a lot easier to work on if XBL didn't crash every 5 seconds.
This is an enhancement.
Severity -> enhancement

CTho said on IRC that he isn't working on this anymore, since XBL was a pain to work with. Re-assigning.
Assignee: cst → general
Severity: normal → enhancement
Assignee: general → guifeatures
Status: UNCONFIRMED → NEW
Component: General → XP Apps: GUI Features
Ever confirmed: true
OS: Windows XP → All
QA Contact: general
Hardware: PC → All
Filter "spam" on "guifeatures-nobody-20080610".
Assignee: guifeatures → nobody
QA Contact: guifeatures
Component: XP Apps: GUI Features → UI Design
Now that images can be zoomed in/out stepwise with cmd +/-, would it make more sense to forgo the slider idea from comment #0 and instead use a 3 position setup?

The image would first be resized according to the setting in browser.enable_automatic_image_resizing (best to probably keep this as a boolean setting).  Then, click on image would resize to fit the shorter image dimension to the window, 2nd click would either zoom to fit or show full size (depending on browser.enable_automatic_image_resizing setting), 3rd click would return to original condition, and so on.
Blocks: 190545
Summary: Automatic image scaling improvement → Automatic image scaling improvement (zoom to fit, fit single dimension, full size)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: