MG2 Exif Parser 3


I have written a bit of a tutorial on how I replaced the default MG2 EXIF parser with the EXIF library built into PHP. The reason I did this was that the default parser does not recognize GPS EXIF data and I wanted to link my photos to the location in which they were taken. Also, the default parser does not recognize camera specific EXIF data, such as the ISO speed, and now it can, though I don’t yet access all the data that is available.

See it in action in My Gallery

See the Step by Step Tutorial Page


Leave a comment

Your email address will not be published. Required fields are marked *

 

3 thoughts on “MG2 Exif Parser

  • Catherine

    Hi, thanks this works great, and the tutorial is well put together. My only complaint is the ISO still isn’t showing and I noticed the same in your galleries (beautiful photos by the way!). Did I miss something or is this something you’re still working on?

  • Poco Post author

    It is difficult to find the correct data for extracting Canon ISO data from the EXIF headers. What I have been able to piece together suggests that this is “sometimes” available in the makernotes. I got that information from http://www.ozhiker.com/electronics/pjmt/jpeg_info/canon_mn.html.

    If you take a look at the canon_php_exif.php link you will see how it is extracted. I have confirmed that this is correct for my Canon S400. I have not tested it extensively with other cameras. Many of the photos in my Gallery do not have any EXIF data, so the ISO is not available.

    Looking at the full size photos in your Gallery (very nice btw) I do not see any makernotes in the Exif data of the photos I looked at. Perhaps that is the problem. It looks like you are using Quicktime software on a Mac and it is possible that it is removing the makernotes when you save it (some programs that don’t understand the makernotes will simply remove them). You should try with an original, unedited, file.

    Feel free to send me an original file. I welcome any sample Canon camera photos for testing. I will update the page with any relevant results I find.