need help with exif rotation patch

Hello,
I'm relating to this patch
http://www.zenphoto.org/trac/attachment/ticket/111/exif_rotation.patch
which I entered into 1.2.1 (offcial) code.
This change looks fairly simple but nevertheless new cache entries are not generated anymore (or existing ones when the cache is being rebuilt).
Existing cache entries are displayed as they were before - so the existing images of the gallery remain fine.
I went through the code but to me (not being a (php-)programmer!) there is no obvious reason for this behaviour.
The cache remains empty if cleared.
I tried test outputs (echo) to check the states of several variables but actually that seems to be more complicated than I thought :-/
Anyone experienced this?
The function `imagerotate()` is available, that I found out.
As soon as I put a # in front of the line
`$rotate = getImageRotation($imgfile);`
the cache buildup works again.
What can I do?
Thanks a lot! Michael.

Comments

Sign In or Register to comment.