Fixed incorrect focal length #277

This commit is contained in:
Tobias Reich 2014-12-19 21:39:43 +01:00
parent 581dfdabe6
commit c349b9fe09

View File

@ -656,10 +656,10 @@ class Photo extends Module {
if (isset($temp)) $return['model'] = trim($temp);
$temp = @$exif['ExposureTime'];
if (isset($temp)) $return['shutter'] = $exif['ExposureTime'] . ' Sec.';
if (isset($temp)) $return['shutter'] = $exif['ExposureTime'] . ' s';
$temp = @$exif['FocalLength'];
if (isset($temp)) $return['focal'] = ($temp/1) . ' mm';
if (isset($temp)) $return['focal'] = $temp . ' mm';
$temp = @$exif['DateTimeOriginal'];
if (isset($temp)) $return['takestamp'] = strtotime($temp);