Thread Locked This thread is locked - replies are not allowed.


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 16 - Pages: 2 [ Previous | 1 2 ] - Last Post: 27 Dec 24, 13:52 Last Post By: JeffTucker
Laza

Posts: 1,455
Registered: 6-Sep-2005
Re: Thumbnails - last photos get cropped / smaller
Posted: 27 Dec 24, 08:29   in response to: Frolin in response to: Frolin
 
The skin calculates the thumbnail dimensions from the max page width, the number of columns, the padding, and the spacing of the thumbnails. So, changing them after this calculation might result in insufficient resolution. The skin will try to load the slide images after the first preloaded bunch. I think, the skin should not do a favor with fixed-shape layouts, as it results in such broken layouts. (With non-fixed layouts this can improve the quality.)
JeffTucker

Posts: 8,050
Registered: 31-Jan-2006
Re: Thumbnails - last photos get cropped / smaller
Posted: 27 Dec 24, 13:52   in response to: Laza in response to: Laza
 
Drop the "number of columns" settings (image and folder thumbnails) and the aspect ratio settings. Let the user specify the thumbnail and folder thumbnail image bounds, the maximum page width, and either fixed shape or not.

If the user wants more columns, he can reduce the thumbnail bounds and/or increase the page width.

If he specifies "fixed shape," use the aspect ratio defined by the thumbnail bounds (if the bounds are 320x240, show 4:3 thumbnails). If not fixed, use the actual aspect ratio of the images, but constrained (so that pano's don't blow up the layout). Ditto for the folder thumbnails, but start with bigger default bounds, like 400x300.

The way things are right now, the user finds himself at war with the skin. He sets bounds, but then the skin changes them, or does something unpredictable with them.

And you're giving him settings that contradict each other. "I want bigger thumbnails, but more columns, but a narrower page," or, "I want 300x300 thumbnails, but I want them to be shown in a 3:2 aspect ratio." Um, no, you can't do those things, and I'm not going to try to figure out how to accommodate these nonsense choices. ;)
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums