• Resolved ACEkin

    (@acekin)


    The image display used to keep the maximum width or height of the images. I am not sure when it changed but now if there is room, the plugin stretches the image beyond its pixel dimensions. I looked for a setting to keep the maximum image size but could not find it. Is there a way to make sure the images are not expanded beyond their pixel dimensions? This seems to be an issue when using JetPack Tiled Gallery. Images from NextGen Gallery are displayed at their maximum pixel dimension. I tried the Legacy and Classic Reloaded options. If I use Fancybox2, it retains the image size but the timing of the slide is not working. It goes too fast but I will stick with that for the time being.

    Everything is updated and my browser is Firefox on Windows 11.

    Thank you,

    Cemal

    • This topic was modified 1 year, 3 months ago by ACEkin.
    • This topic was modified 1 year, 3 months ago by ACEkin.
    • This topic was modified 1 year, 3 months ago by ACEkin.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi Cemal, stretching is certainly not supposed to happen.

    I’ve not been able to reproduce it on a dev site with Jetpack tiled galleries. Could you maybe try disabling script compression and concatenation in WP Fastest Cache?

    Thread Starter ACEkin

    (@acekin)

    @ravanh, thank you. When I try these, I am logged in as an admin and the fastest cache serves uncached content. This is what I see with the Legacy option while logged in as admin and caching is pushed aside:

    https://www.dropbox.com/scl/fi/eum0w8xl5bek3iclolo4y/2023-08-16_080841.jpg?rlkey=vzt6l9zz7phe7ji68xnitda0v&dl=0

    And, this is with fancybox2:

    https://www.dropbox.com/scl/fi/6npz2dottl7vbtz173zr8/2023-08-16_080943.jpg?rlkey=xiu0iiys73i5bqiqmaw6pbwyp&dl=0

    I switched to the latter, and I think I will stay with it despite the rapid slide change. Thank you,

    Cemal

    Isn’t the display of the second (fancyBox2) too small instead of the first (classic) too large? What is your screen size? The image is 1650px wide so should be filling the light box window on most monitors…

    Thread Starter ACEkin

    (@acekin)

    The screen dimensions are 2400 x 1600, Surface Studio Laptop. I display the content at 150% so that I can read it. That is the recommended setting. This setting on EFB honors the full resolution as you can tell from the screen ruler superimposed on it.

    https://www.dropbox.com/scl/fi/06qouvs1zt9n7j3oi3nbj/screen.jpg?rlkey=4upzew751g5xa1rcfclrhvdut&dl=0

    It is possible that the Legacy mode get thrown off by this confusing setting. I will later try it on my desktop and report again. But, I am fine using the fancybox2 setting.

    Thank you,

    Cemal

    Ok, thanks for clearing that up. The 150% setting might indeed be confusing the legacy script. I’ll have to test that…

    I switched to the latter, and I think I will stay with it despite the rapid slide change.

    Are you saying the Change Speed option (under Settings > Media > FancyBox > Images > Gallery) has no effect?

    Thread Starter ACEkin

    (@acekin)

    The image definitely gets stretched when using Legacy. Here is another screen shot on my 27″ desktop. When I switched to Legacy mode, the image goes beyond its natural 1650 pixels width:

    https://www.dropbox.com/scl/fi/vj8ltdhy8jitbbnjtdba0/screen2.jpg?rlkey=64or04ucq9wlb8rmtkvpip5bv&dl=0

    In the past, the speed settings did not change anything in fancybox2 mode and I did not check it again. Thanks to your nudging, I looked once more and they work! Thanks. And the image does not get stretched under fancyBox2. The other two modes stretch the image given screen space.

    Cemal

    When I switched to Legacy mode, the image goes beyond its natural 1650 pixels width

    It does look like it’s being stretched to 150% (it would be a max of 2475px wide, if you want to check) due to the screen settings. I suppose most people would actually want that to happen…

    I’m surprised fancyBox2 somehow manages to ignore (or work around) that 150% setting ??

    Thread Starter ACEkin

    (@acekin)

    @ravanh, you are probably right if you look at the results on my laptop. However, I tested the stretch on my 27″ NEC monitor and the same stretch happens. On that monitor, there is no extra scaling parameters.

    Yes, images that looked more filling now stay generally in the middle of the screen. But, they don’t get slightly softer from stretching. I may well be splitting hair. But, now you have another data point.

    Thanks,

    Cemal

    Indeed, stretching will make the image more fuzzy. It might be an idea to make it optional and to make the behavior consistent between the different versions…

    Thank you for your feedback! ??

    Thread Starter ACEkin

    (@acekin)

    Making it optional is a very good idea.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Given screen space, EFB enlarges the displayed image’ is closed to new replies.