Auto rotate images not active

Hi,

Finally manage to install zenphoto, i am trying to activate the auto-rotate or for that matter a manual rotate.

I just added the GD for PHP and compile it without error but i'm still not able to make these pictures rotate.

Here is my PHP info and GD info (from phpinfo.php)

PHP Version 5.2.6-3ubuntu4.1

GD Support: enabled
GD Version: 2.0 or higher
FreeType Support: enabled
FreeType Linkage: with freetype
FreeType Version: 2.3.9
T1Lib Support: enabled
GIF Read Support: enabled
GIF Create Support: enabled
JPG Support: enabled
PNG Support: enabled
WBMP Support: enabled

Is there something i am missing ?

Thanks

Comments

  • Have you tried the 1.2.6 release?
  • oc Member
    I'm curently running 1.2.6 release fresh install from today.
  • Is the option for autorotation enabled?
  • oc Member
    That's my problem.... It's grey out... Cannot access it.
  • You are missing the function `imagerotate()` in you GD build.
  • oc Member
    Any idea how i could add this imagerotate() function to the build. I try compiling the bundle GD library but i always get errors on the build.
  • oc Member
    FIXED
    ===========
    Here what i did to get the php5-gd bundle library

    Open a command line interface & add following 2 lines to /etc/apt/sources.lst

    deb http://packages.dotdeb.org stable all
    deb-src http://packages.dotdeb.org stable all

    then run > apt-get update
    run > apt-get install php5-gd
    ( it will complain about non-authenticated sources .. just ignore, it will also update some additional php libs , keep local modified php.ini )

    run > /etc/init.d/apache2 restart

    Now my Auto Rotation in available :)
    =============================================

    Now for a follow up question, do i have to delete all album and import them back again for the auto-rotate to kick in ?
  • You may have to to a refresh metadata. If you have problems with specific images, set their database height/width values to zero.
  • php-gd is compiled wrong in ubuntu, so the imagerotate() feature doesnt work. Hence it is greyed out. You need to update the php-gd library to a version not compiled by ubuntu goons.

    I screwed up php on my server while doing this, so forgive the slight anger....

    To rerotate, just clear the cache and the metadata. That should do it.
Sign In or Register to comment.