90º / 180º rotation

Project:phpAlbum.net
Version:0.4.1-16
Component:Miscellaneous
Category:task
Priority:normal
Assigned:mastermind
Status:new
Description

Is it possible to add a rotation system for photos ?

in pictures, in params of the picture, just add flags to turn it ?

Updates

#1 submitted by mastermind on Fri, 2012-06-15 08:41
Version:» 0.4.1-16
Component:User interface» Miscellaneous
Category:feature requests» tasks
Priority:normal» minor
Assigned to:» mastermind

Most digital cameras used today save the orientation of the picture in EXIF data.
I have seen many requests for that feature but not seen it implemented yet.

Some time ago i have written a piece of code, that does exactly what was requested many times.
It rotates the picture according to its EXIF Orientation data.
It neither touches the original images nor writes any thumb files, just creates a new picture to display.

If you are interested in this little piece of code just message me.

#2 submitted by mastermind on Wed, 2012-06-20 11:31
Priority:minor» normal
Attachment:main.php_.txt (88.21 KB)

modified main.php for correct rotated preview and thumbnail images


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