Bug in album highlight, with portrait images

johndbritton
johndbritton's picture

Joined: 2005-03-23
Posts: 78
Posted: Thu, 2005-10-06 06:09

First I would once again like to thank all of the Gallery devs for making the best photo software ever! I absolutely could not live without gallery, I have a gallery of just about 2000 images and it is always growing. THANKS TO YOU ALL!

I have encountered a problem because gallery2 does not rotate images based on the EXIF tags, and I have to rotate them myself.

I am a college student and I have about 1 year of PHP experience (as a paid PHP programmer) and would be willing to write the EXIF auto-rotate module if someone would supply me with details on how to write a module for gallery2. I have searched and searched for the documentation and have come up with nothing. ANYWHO, below is the "bug" that I have found.

I have found what I would call a bug or a minor annoyance in gallery, I will live if this is never fixed but I thought I should at least point it out.

If you select an image with a landscape orientation to be the highlight of an album and then you rotate the image the highlight will not change dimensions, it will just change orientation and this will result in a oddly deformed image.

I am using gallery2 from CVS system details as follows:

Get system details; useful for copy/paste into G2 support forum.

Last Run Details:

Gallery version = 2.0+ core 1.0.1
PHP version = 4.3.11 apache
Webserver = Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.11 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a
Database = mysql 4.0.25-standard
Toolkits = ArchiveUpload, Exif, ImageMagick, NetPBM, Gd, Thumbnail, Ffmpeg
Operating system = Linux rack1.hostgrown.com 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:59:02 EST 2004 i686
Browser = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050922 Firefox/1.0.6

Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 12544
Posted: Thu, 2005-10-06 06:36

Autorotation based on EXIF info is not available in G2 yet. You can vote for it http://gallery.menalto.com/sfvote as it is a fairly popular request it will probably make it into the next version of G2.

As for the "bug", I can't verify that. When I rotate an image from landscape to portrait, the thumb is rebuilt and refreshed to the correct orientation and dimensions showing the image rotated.

Can you provide a link your site where we can see this?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments
johndbritton
johndbritton's picture

Joined: 2005-03-23
Posts: 78
Posted: Thu, 2005-10-06 14:37

I have looked a little more closely at my "bug" and it seems that the distortion I was getting was due to the thumbnail being stored in my browsers cache. Thanks for double checking this though. I am still interested in working (myself or with help) to make the EXIF rotation module, can you or someone else point me in the right direction?

Login or register to post comments
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2005-10-06 15:59
Login or register to post comments