Rotation issues

zenPHOTO is rotating images that shouldn't be rotated. I've tried it both with the 'Auto rotate image' option on and off.

Here is my picture as I see it on my computer, straight from my digital camera
Here is how the picture shows up with 'Auto Rotate' disabled in the options
Here is how the picture shows up with 'Auto Rotate' enabled in the options

I am running zenPHOTO 1.2.6 [4335], if that is helpful. I am new to zenPHOTO and would appreciate any helpful feedback. Thanks.

Comments

  • I am realizing that there is something happening on my computer that isn't happening on the website. If I just FTP my pictures onto one of my websites I get an issue where the picture is sideways, like in zenPHOTO. So, the real issue now is, how to get the Auto Rotate option to work correctly. I will work on it tomorrow, it is bed time now.
  • With auto-rotation off you get the image as it is stored. If it is incorrectly oriented, that is the "fault" of the camera (or whatever created the image.) Auto rotation relies on the image having a flag saying it needs to be rotated to be shown correctly. If you have set auto rotation and it does not rotate, then the image is marked as being in the "correct" rotation.
  • I think that zenPHOTO is reading the rotation flag embedded in the picture correctly, but for some reason it isn't handling it well. Maybe there is something wrong with the GD library on my server. What I do know for sure is that the imagerotate() function does exist and is available to use. I am going to do more testing and try to narrow down the problem.
  • You can tell if Zenphoto has got the rotation correct by looking at the image in the album edit pages. Zenphoto will show the intended rotation.
  • To me it seems like zenPHOTO does understand the rotation, but for some reason it isn't working right (the picture never shows up). I am wondering if it is a permissions issue.

    This is how the image shows up with the auto rotate option on
  • Hi Cyphun,

    I've been having similar issues and have yet to receive a response.

    Please see my post here:
    http://www.zenphoto.org/support/topic.php?id=6148

    Any help from sbillard, acrylian, and the rest of the zenphoto community would greatly be appreciated.
    -m
  • I don't know if this is helpful, but here is some information from my administration area:

    * Zenphoto version 1.2.6 [4335] (Official Build)
    * Current gallery theme: zenpage-default
    * PHP version: 5.2.1
    * Graphics support: PHP GD library bundled (2.0.28 compatible)
    * PHP memory limit: 96M (Note: Your server might allocate less!)
    * MySQL version: 5.0.45
    * Database name: beckerproject
    * Table prefix: zp_
    * Spam filter: none
    * Captcha generator: zenphoto

    Anything look suspect in there?
  • When you say the picture never shows up, do you mean that you get the browser "X" of a missing picture? That means that the image processing failed. Most likely this is a memory limitation on your server. See the troubleshooting guide on this subject.
  • Yes, it is linking to an image that doesn't exist on the server. As you can see in my ZenPhoto configuration (2 posts up) my memory limit is not too low, so I don't think that is it ... "PHP memory limit: 96M (Note: Your server might allocate less!)". I've also been through all the relevant trouble shooting topics with no luck.
  • If you read the troubleshooting guied you will know that the PHP memory limit is only a suggestion. It is not what your server might allocate.
  • I understand that it is only a recommendation, I was just trying to point out that I've tried different options with the memory limit with no luck. Either I am missing something or there may be a bigger issue. I was just hoping that people in these forums would help me either realize what I was missing or uncovered a bigger issue.
  • acrylian Administrator, Developer
    How big is that image actually (the dimensions, not the filesize)? Do you maybe have a live link to your site? Otherwise everything is mainly wild guessing.
  • What you are missing is that most likely the options you tried for memory limit had no effect on the memory that was actually allocated. That is what is meant by the limit being only a recommendation.
  • Hi,

    When I set auto-rotation on, I have neither thumbnail any more nor full images on album.

    Please help

    Sorry, image too big
  • If you are using Imagick, then that is a known bug in the 1.3 release. It has been fixed in SVN and the nightly builds.
Sign In or Register to comment.