I've given up for now and replaced image.php with the changed version using the custom function.
Is the version with the new thumbnail logic done yet?
Simple workaround for the Pano album: I will upload a 3:2 version of the image and mark that one as unpublished. Thumbnails of unpublished images still get displayed in the index.
Great you managed it working to your liking. Btw, I am working on the thumbs stuff. Uses the same code base as the large images and I so far didn't encounter anything that would explain your issue and why we can't reproduce it…
I disabled ImageMagick again because it made thumbnail generation quite slow.
Interessting, heard that before. Actually the saying always was that Imagick was faster and less memory consuming than GD. When testing I personally didn't notice actual differences.