jpeg autorotation

Hi!

because I am too lazy, I made patch for autorotating jpeg pictures (basing on exif "Orientation" field ). You will need imagemagick shell command ('convert') and access to /tmp directory. I dont use imegerotate function because standard php gd library included in debian doesnt have it :| . Before use you should clear cache. Feel free to use/modify/do whatever with this ;)

patch:
http://libiaz.org/patch
modified main.php file:
http://libiaz.org/main.php.txt

best regards
stopczyk

Thank you!

That's a function I missed a lot.
Now, phpalbum.net is perfect for me!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.


style="display:inline-block;width:468px;height:60px"
data-ad-client="ca-pub-8698264690166658"
data-ad-slot="4417389723">