- π¬π§United Kingdom very_random_man
I just came across this behaviour as I'm using a responsive image style with multiple breakpoints, combining with a number of Focal Point image styles. With the focal point you basically can't use just CSS cropping for anything other than polish unless you go the route of a js focal point library.
I found changing showHideAnimationType to 'fade' (which should look fine with mismatched aspect ratios) with hook_photoswipe_js_options_alter made no difference and the module appears to implement its own zoom function regardless of options, although I didn't dig too far with that.
Anyway in case anyone has a similar problem, the workaround for me was to set the fallback image style on the responsive image to one that was about the same size as the smallest responsive breakpoint focal point style. The fallback style just needed to crop but also preserved the original aspect ratio. No focal point.
The result is that all the focal point image styles are applied in the
tags and are the ones used on the page and the fallback img src is the thumb used when it opens up. :-) - π©πͺGermany Anybody Porta Westfalica
@very_random_man: Perhaps you need π (Re-)Add width / height also on fallback image Fixed ?