[edit: I am implementing this in the template / twig]
Is there a way to crop the image(s) to a specific aspect ratio?
I use this for a thumbnail gallery and would prefer to not serve extra pixels, when they will be hidden through css.
What about the image content? If you always crop a 4:3 ratio to 3:2 and cut the same amount on each side, an 4:3 image with a persons head near the cropped side would be cut - what results a non pleasing image content. So, just cropping might be an overall goal missing jump.
But if you have 6000x4000 px (3:2) image and you want to keep original, I doubt you’d want to output a list of lets say 20 images 24MB each. That’s where cropZoom(1800, 1200) comes in