Your comments

Hey Vlad, thanks for coping with this issue!

I was wondering which previews are cached and which not and which are generated at all. In Nextcloud I can set a maximum width/height up to where previews are generated, so that I have several preview sizes to choose from depending on display size.  Wouldn't that be an option, at least an optional one, to just cache more sizes and chose the appropiate one (NC additionally works with upscaling to a given factor) and not to generate it on the fly?

P.S.: I would love to have the same logic of cached previews as NC anyway, so that I can merge the two preview cache folders :-)

P.S.S.: What does the command line function for generating previews (make_thumbs.php) do anyway if usally previews are not cached? Plus, it would be great to be able to provide a subfolder to that function!

I understand your point, but still every software used by me (macOS, Windows, Nextcloud, several Android-Apps) display the pictures in the correct alignment - so I have to find an alternative to filerun, which is sad, because I really liked the web interface over nextcloud and Plex, because EXIF-Tags are well treated!

So, what's the case here? One of the basic functions should be the correct alignment of the images, shouldn't it?!?