Tagged: , ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22808

    Hi. I am looking for some help converting the decimal value in the Shutter meta data and having it display as a fraction. Thank you.

    #117318

    Hi,

    I can only show you the starting point – I can’t help you with the calculation, etc. In wp-contentthemesflashlightincludeshelper-slideshow.php search for following line:

    if($exif['shutter_speed']) $meta .= "<li class='exif-shutter_speed'><span>".$exif['shutter_speed'][0].":</span> ".$exif['shutter_speed'][1]."</li>";

    The $exif array value contains the shutter speed (I’m not sure if it’s a text string or float). You can use it to calculate the fraction, then save the fraction into $exif and insert the calculation code before the line I posted above.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘EXIF Change from Decimal to Fraction’ is closed to new replies.