Done
thx
Btw, the file extension could not match with actual image format, so its better do a little different check
its made,
cause the script is embedded in the functions.php and uses the 4images own image check.
Solution for wrong display of exposrure timeCause it differs from camera modell the exposuretime is not correctly formated,
for values like 10/4000, which should be normally 1/400.
so i wrote a little modification.
you can use the modification also for other values, but then you have use the right variables.
Open includes/exif.php
search for:
$val = $val ." seconds";
replace it with:
$exposure_time=explode("/",$val);
if (($exposure_time[0]>9) AND (($exposure_time[1] % $exposure_time[0]) == 0)) {
$exposure_time[1] = $exposure_time[1]/$exposure_time[0];
$exposure_time[0] = $exposure_time[0]/$exposure_time[0];
}
$val = $exposure_time[0]."/".$exposure_time[1]." seconds";
then it should be displayed correctly.
Hope that helps.