I am a newbie around here and I must admit that I have absolutely no ideea about php programming. I have installed zenphoto from your site and I have this problem:
When I choose wich fields to show in the image details (exif area) I checked among others the "lens info" field.
The page shows correctly all other fields (like shutter speed, iso, aperture) but no lens info. I have a Nikon D7000 and 3 lenses: 2 tamron and 1 nikkor. I can see the requested info on my computer using irfan view or lightroom. Is this a bug or there is something wrong I did.
PS. I tried all other themes (include the default theme) and no result...
Thank you very much and excuse my poor english.
Comments
My collegue will be of more help later today as he is more versed with the exif stuff.
PS: Your English is actually fine.
I will try and use a Nikon dedicated software to verify and I'll be back with an answer.
Or maybe Lightroom has corrupted the fields. Try an image directly from the camera.
Lightroom has a problem with the exif coding. I have exported same picture from Lightroom and ViewNX and surprise... ViewNX reports everything just like it should be. But Lightroom didn't.
Hope that help you and others.
As you know, xmp file is used by Lightroom and Photoshop for storing the corrections made over a picture without affecting the source. I didn't find any software to read those modifications. Any suggestions?
Zenphoto has a plugin for reading xmp sidecar files.
I've found a similar problem from coppermine:
http://forum.coppermine-gallery.net/index.php?topic=59103.0
I confirm that this problem comes from Lightroom (LR3.4 in my case). You can compare :
http://galerie.erwannf.fr/test/test_exif_nx_D7C2873.jpg.php
is the image converted with nikon capture NX : lens data are correct
http://galerie.erwannf.fr/test/_D7C2873.jpg.php
is the image converted with LG : no lens data except focal lenght. Or maybe it comes from one LR plugin ?? It's anyway a LR problem..
I must add to my previous message that using exiftool, I can see that the Lens model data are in my file : they are stored in ExifTag n° A434. I think it comes from quite new Exif 2.3 specifications. Maybe this model is not implemented in zen photo yet ?
You can find a lot of discussions on this in Adobe Lightroom forum (for instance).
I just had the code :
`
case 'a434': $tag = 'LensInfo'; break;
`
in the file exif.php, in the function lookup_tag, and everything is now ok.