I'm almost finished writing a script that uses this file browser to build an image gallery. I'm really digging it, but I think I'm in a little over my head...
A big problem I'm having is that some images are being rotated on upload. After doing a little research, I found that these images are actually being displayed correctly, however they contain "exif" data to tell your application what orientation it should use to display them. So, I guess your application (iphoto, finder, windows explorer, etc...) is actually rotating them every time you look at them.
So I just started to dive into the exif section of the php manual, and it's not really making a lot of sense to me right now. I thought I might make a quick post here for any suggestions. Is the exif data something that should be examined and altered on upload, or something that should be examined/altered (in php) every time it is viewed by the end user? My biggest concern here, is that I think it should be examined and altered on upload, and I'm not sure if that's something that I can incorporate into this file browser.
Any thoughts? Any info is much appreciated! Even if anyone knows of a good intro to exif to get me started, that would be awesome! Thanks!!!
Last edited by weismana81 (2011-05-17 11:09:51)