MozillaZine

Auto Fit Image to Mail Preview Pane

Discussion of features in Seamonkey
smsmith
Moderator

User avatar
 
Posts: 19780
Joined: December 7th, 2004, 8:51 pm
Location: Indiana

Post Posted October 10th, 2014, 4:32 pm

In one of the recent Thunderbird updates, images in the mail preview pane (and presumably a new message tab/window) auto resize to fit the width of the window if the image is too wide. The height is appropriately scaled. I really like this and was wondering if maybe it was just a variable/preference that was flipped or if it is a feature that hasn't yet landed in SM.

Any thoughts?
Give a man a fish, and he eats for a day. Teach a man to fish, and he eats for a lifetime.
I like poetry, long walks on the beach and poking dead things with a stick.
Please do not PM me for personal support. Keep posts here in the Forums instead and we all learn.

morat
 
Posts: 2954
Joined: February 3rd, 2009, 6:29 pm

Post Posted October 10th, 2014, 5:32 pm

Thanks, I never knew that existed.

There is no preference to toggle the shrinktofit feature in Thunderbird.

AFAICT, the shrinktofit feature is not available in SeaMonkey.

Thunderbird
http://mxr.mozilla.org/comm-release/sou ... 2404a63#71
http://mxr.mozilla.org/comm-release/sou ... 378ca23#81

SeaMonkey
http://mxr.mozilla.org/comm-release/sou ... fdb7c41#45
Last edited by morat on October 10th, 2014, 5:38 pm, edited 1 time in total.

Andy Boze

User avatar
 
Posts: 2755
Joined: June 30th, 2005, 9:53 pm
Location: South Bend, IN

Post Posted October 10th, 2014, 5:34 pm

I can tell you that images attached to e-mails auto-resize. Don't know about inline images.
But then again, I may be wrong.

Andy Boze

User avatar
 
Posts: 2755
Joined: June 30th, 2005, 9:53 pm
Location: South Bend, IN

Post Posted October 10th, 2014, 5:49 pm

I just checked the DOM Inspector. An e-mail that has an oversize image attachment has a class .moz-attached-image on the image. The attribute on the class is [isshrunk="true"] with maxwidth set to 100% when the image is shrunk to fit the window width. When the image is allowed to overflow the window, the attribute changes to [overflowing="true"] and there's no maxwidth property on it.

I found the preference for it in about:config, mail.enable_automatic_image_resizing.
But then again, I may be wrong.

Return to SeaMonkey Features


Who is online

Users browsing this forum: No registered users and 2 guests