Hi there,
I have one small problem with exif on my website.
I'm starting taking pictures with longer exposure time like 1 second and right now my exif script doesn't know how to show this information correctly. So can somebody help my with that?
Here is how actually my script looks like
case "ExposureTime":
$valpieces = explode("/",$val);
$val = round(($valpieces[1] / $valpieces[0]), 0);
$val = "1/" . $val . " seconds";
break;
With this code all photos taken with longer exposure time like 1s is showed like 1/0s
I try to use old code for this value
case "ExposureTime":
$val = $val . " seconds";
break;
but then my exposure time was show in not right and easy understandable format like this 100/1192
in this case right time was 119.2 second
so its something what I can do with that?
Thanks to everybody for help.