exif values coming wrong


using zpBase theme there is some issue with exif showing wrong way.
for example


Exposure Compensation: 4294.3 EV

In here it shows correct.

Can someone guide how to solve ?


  • acrylian Administrator, Developer
    This is not a theme issue. Zenphoto reads the meta data as they are stored. Please check that it stored differently. As noted often sometimes camera vendors do their own thing we cannot cover always. Especially snce those are taken with two different cameras.
  • Well I am checking on Lightroom and the value Exposure Bias shows -2/3EV with Nikon Gears Here :

    -2/3 Ev with canon

    seems like minus exposure bias calculation does not work properly.
  • Interesting. Adobe Bridge reports the EV as +4294.3 as well. But you must be correct, it is treating the value as unsigned.
  • Further on this:

    I have looked at the two images you cite. The data recorded in the images is incorrect in that it sets the "type" for the Exposure compensation as an Un-signed integer. This is why zenpohoto and Adobe Bridge are getting it wrong.

    Is there some possibility you have used some software to set EXIF values that could be setting this type wrong? The reason I ask is that I have images from a Nikon D70, Nikon D200, and Nikon D300s which all set the type correctly. It seems unlikely to me, therefore, that the Nikon D300 got it wrong.
  • I have done nothing except processing in Photoshop and import in Lightroom do keywording and export so it carries my all IPTC along where I have templates set for keywording and other tings untouching exif values.
  • Can you check the intermediate steps? See if the value is correct with the original image before any processing. See what it is after the Photoshop work. See if exporting from Lightroom without setting anything still has the issue.

    It is certainly possible to force zenphoto to treat the value as signed, but it is a bit dangerous since it might break some other import. It would be best to find out where the issue is being introduced.
  • I'll do the test sbillard soon and report here .
  • Hi,

    Here is the original Nikon NEF preview from Adobe Bridge which shows EV correctly.


    Here is the same image converted JPG and preview in bridge and showed -0.67ev
  • acrylian Administrator, Developer
    Just looked at both via Bridge CS6 but I actually see no metadata on both at all.
  • well what I shared you is screenshots I took from bridge screen.
  • acrylian Administrator, Developer
    Ah, sorry, my misunderstanding …
  • acrylian Administrator, Developer
    Could you please disable the "http_select_language" on Options > Gallery > Language. I always get the meta names in German and this is very confusing ;-)

    So I see a value of 9/28754 sec for the shutter speed if I am not mistaken. What should the value be?
  • There is no option in Options > Gallery > Language
    And real value in Lightroom and bridge and even windows default Detail option shows 1/3195.

    Original file download is here : http://wildart.in/albums/hornbills/indian-grey-hornbill/indian_grey_hornbill_mg-2514.jpg
  • I have selected language in English only at Options > General > Language
  • acrylian Administrator, Developer
    Options > General > Language ;-) There is also a checkbox for http_accept_language that must be enabled otherwise I should not see those terms in German. Just confusing since the site is English only

    Ok, I see that value on the Mac OS preview app as well. That will take some investigation where that other value might come from …
  • Thanks a lot for these prompt replies.
  • So I guess that Lightroom is wrongly tagging the data type for EV. You can use Bridge to set all your metadata. As to the shutter speed, there is no "rounding" done of the data presented. If this image was direct from the camera than that is what the camera recorded. If it is from Lightroom perhaps lightroom has another bug.
  • Well sbillard,

    I have checked all methods and everywhere it is showing actual rather than what we see on the site.

    Be it Photoshop File Info, Windows Details, Adobe Bridge, Lightroom, Mac Preview, ExifTools

    Everywhere the content shows correctly as what it should be. Just that when uploaded it is showing somewhat wrong.
  • Understood. This is then an issue of "rounding" tolerance which is apparently more strict with zenphoto than with other software.
  • acrylian Administrator, Developer
    If I see right the shutterspeed value is processed in line 438-447 of `/zp-core/exif.php`. The comment speaks of the value possibly being in APEX mode. Whatever that is.
  • any help on how to resolve this ?
  • acrylian Administrator, Developer
    You could experiment with the lines I cited above but otherwise currently no idea. Sorry.
  • found a problem.
    somewhat exiftools read "Exposure Time" wrong. but "ShutterSpeedValue" is correct.

    can you guide what changes would require so as it reads ShutterSpeedVlue not exposure value?
  • acrylian Administrator, Developer
    Have you tried to disable that meta data field on the options (if it exists, haven't looked)?
  • Well I think there is only one option available and its shutter speed option in zenphoto admin
  • acrylian Administrator, Developer
    Then this probably requires more investigation …
Sign In or Register to comment.