Member
Member
oc   2009-08-18, 20:38
#1

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

Member
Member
sbillard   2009-08-18, 21:08
#2

Have you tried the 1.2.6 release?

Member
Member
oc   2009-08-18, 23:32
#3

I'm curently running 1.2.6 release fresh install from today.

Member
Member
sbillard   2009-08-18, 23:55
#4

Is the option for autorotation enabled?

Member
Member
oc   2009-08-19, 00:15
#5

That's my problem.... It's grey out... Cannot access it.

Member
Member
sbillard   2009-08-19, 00:29
#6

You are missing the function imagerotate() in you GD build.

Member
Member
oc   2009-08-20, 16:42
#7

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.

Member
Member
oc   2009-08-20, 18:48
#8

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 ?

Member
Member
sbillard   2009-08-20, 21:35
#9

You may have to to a refresh metadata. If you have problems with specific images, set their database height/width values to zero.

Member
Member
lordmozilla   2009-08-21, 08:26
#10

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.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.