Hello,
I'm relating to this patch
http://www.zenphoto.org/trac/attachment/ticket/111/exif_rotation.patchwhich 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
exif.php wasn't included.
PLS include a
`require_once('exif/exif.php');`
in function `getImageRotation()` of functions-image.php
I took the liberty to add this change here:
http://www.zenphoto.org/trac/ticket/111#comment:9
HTH, Michael.