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


Permlink Replies: 1 - Pages: 1 - Last Post: 16 Dec 25, 15:48 Last Post By: Laza Threads: [ Previous | Next ]
Schegg

Posts: 7
Registered: 6-Mar-2009
Image scaling
Posted: 12 Dec 25, 13:55
 
  Click to reply to this thread Reply
Hi Laza

After updating to version 4.1.0, I've noticed the following changes in Edge and Firefox on my PC.

With version 4.0.0, I had set the scaling in the lightbox settings to "never fit." This meant that when I resized the browser window, the image was always centered and scaled to fit the width and height.

Now, with version 4.1.0 and "never fit," the image is no longer centered in the browser but left-aligned, and it always displays in the correct aspect ratio when I resize the browser window. See screenshot 1.

If I now set the scaling to "Fit," nothing changes in the display; it's exactly the same as "never fit."

If I change the setting to "Fill," the following problem occurs:

The image fills the entire browser window, but if the browser window is too large, the lightbox is no longer visible. See screenshot 2. If I reduce the browser window size, the lightbox reappears (see screenshot 3). The image is also not displayed in the correct aspect ratio (width to height). This also happens in Safari on my iPad and iPhone. You can see an example here: https://andi-schegg.ch/Test/Test_Animatics/album/

Best regards, Andi

Edited by: Schegg on 12 Dec 2025, 13:57

Laza

Posts: 1,442
Registered: 6-Sep-2005
Re: Image scaling
Posted: 16 Dec 25, 15:48   in response to: Schegg in response to: Schegg
 
  Click to reply to this thread Reply
Thanks, I will look into this. As far as I remember, the swipe library was changed, which handles the image transformations a bit differently, but I just realized this change might affect the fill/fit behavior too.
Legend
Forum admins
Helpful Answer
Correct Answer

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