• Resolved Guyinpv

    (@guyinpv)


    I don’t know if this is a problem with the plugin or just how this particular WordPress install is working.

    I changed the medium size in WP settings to 370×9999 and large to 1400×9999. On every site I’ve done this, it creates images at the right aspect ratio while not limiting the potential for tall images (like infographics perhaps).

    For some reason, when I have Perfect Images regenerate thumbnails, two things I notice:

    1. It doesn’t delete all previous thumbnails, it just overwrites them if they already exist. So it does no good if one is trying to clean out old thumb sizes. For example the app sees 9 thumbnails while another app I have sees 11 thumbnails. And over FTP I can see there are actually about 26 files total, some are webp. Some might be generated on the fly by the theme when using a custom width/height in the page builder.
    2. The main problem though, is let’s say the original image is 2000×2800, when Perfect Images generates the thumbnail, it creates a file 370×2800! This is a crop rather than keeping the aspect ratio of the image. I just want a max of 370 wide, not crop to the full height of the image.

    Is the plugin doing that with the aspect ratio, or is that part of WordPress now? Or is some other part of the system messing with that? How can I make sure thumbnail regeneration maintains the aspect ratio?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Val Meow

    (@valwa)

    Hey @guyinpv ! ??

    Are you still experiencing this issue with the latest version ? It should be 6.4.8.

    If you need further assistance, you can join me directly through our?support platform. ??

    Thread Starter Guyinpv

    (@guyinpv)

    Hi,

    I wanted to report back that it is not fixed in the latest version 6.4.9.

    After updating the plugin, I updated the WordPress thumb sizes. Then I regenerated the thumbnails. Once again the plugin is doing a hard crop on the thumb sizes instead of maintaining the aspect ratio.

    If the original image was 768×1160 and I set WordPress thumb to 370×9999, the plugin generates a file 370×1160. It fully cropped the width but left all the height intact, a skinny tall image.

    With a proper shrunken image, it should have been resized to 370×559, not 370×1160.

    Is this by design? It’s my understanding that in the WordPress media size settings, only the smallest thumb is a hard crop because it’s usually a square. But the medium and large sizes are not crops, they are resized with original aspect ratio.

    Is it possible this could be updated so that we know when images are being resizes with a hard crop versus maintaining aspect ratio?

    This can really mess some people up if we expect one type or the other!

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Thumbnail regeneration is not keeping the aspect ratio’ is closed to new replies.