Ticket #119 (new enhancement)

Opened 2 years ago

Last modified 4 weeks ago

Option to choose image resize

Reported by: Johan Åhman Owned by: mike
Priority: normal Milestone: 2.0
Component: Administration Version: 1.0b3
Severity: normal Keywords: resize
Cc:

Description

How about an option where the user can choose wether to resize images based on max height instead of just max width?

Change History

Changed 2 years ago by mike

Plogger is actually kind of funny about this. If you uncheck "Square Thumbnails", it switches from max width to max height. When the thumbnails are all different ratios, the heights have to be synchronized for the CSS "inline" layout to line up properly. That is why we do it that way, but we switch to max width for square thumbnails because I feel like that is more intuitive.

Does that make any sense? Maybe there is a better way.

Changed 2 years ago by derek

We could specify the thumbnail height via CSS alone to get the float layout in line. I don't mean this as some newfangled approach, more of a "don't let the float layout stop you from doing what you want". Do what works best and we'll get it hammered out for the front end.

I like image dimensions in em's anyways. http://cssplay.co.uk/menu/em_images.html Don't ask me why...

Changed 2 years ago by Johan

Hmm, I'm not sure I fully understood you guys. What I really want is an option to display images, the large thumbnails, where the portrait images are same height as the height of landscape images AND / or possibility to resize landscape max width as the portrait width, this to be able to use one and same "container" for images, so they won't jump around in my flash apps. I.e If max size is set to 500px, and an option to resize by height: Landscape is 750w x 500h, and portrait is 333w x 500h.

Changed 2 years ago by admin@…

I was about to file this as a bug. The "hidden" feature where a field that specifically says Large Thumbnail Width dynamically switches between height and width as mike mentioned is totally ambiguous and is borderline with a bug. It should be clearly marked that it will control the height if the Use Cropped Square Thumbnails is unchecked.

Changed 2 months ago by sidtheduck

  • type changed from defect to enhancement

Changed 4 weeks ago by sidtheduck

  • milestone set to 2.0

I too was thinking this could be a good option for users (whether scale by width, height, the greater of the two, or square thumbnails). Perhaps it should be bumped to 2.0

Note: See TracTickets for help on using tickets.