If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
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.
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'].":</span> ".$exif['shutter_speed']."</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.
The topic ‘EXIF Change from Decimal to Fraction’ is closed to new replies.