• I love this plugin and the support given. I do have a minor request in regards to the EXIF Data and how it is displaying for exposure (shutter speed).

    I have modified your code so that the exposure (shutter speed) now displays as ’1/n’ instead of ‘0.000n sec’ which most photographers use and camera display. I am just wondering whether it is possible for you to have this minor cosmetic change in your future revisions. Much Appreciated.

    In ShashinPhotoDisplayer.php, function setExifDataForCaption()

    if ($photoData['exposure'])
       // $exifParts[] = $photoData['exposure'] . " sec";
       if ($photoData['exposure'] > 0 && $photoData['exposure'] < 1 ){
           $exifParts[] = $photoData['exposure'] = '1/' . round(1/$photoData['exposure'], 0);}

    https://www.ads-software.com/plugins/shashin/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Minor Request: EXIF Data Exposure (Shutter Speed) Display Format’ is closed to new replies.