Correction of Focal data extraction

This commit is contained in:
Quentin Ligier 2016-04-17 22:32:57 +02:00
parent 0e6c9e9810
commit 8b25259ed4

View File

@ -809,7 +809,7 @@ final class Photo {
$temp = round($temp, 1); $temp = round($temp, 1);
$return['focal'] = $temp . ' mm'; $return['focal'] = $temp . ' mm';
} }
$return['focal'] = $exif['FocalLength'] . ' mm'; else $return['focal'] = $exif['FocalLength'] . ' mm';
} }
if (!empty($exif['DateTimeOriginal'])) $return['takestamp'] = strtotime($exif['DateTimeOriginal']); if (!empty($exif['DateTimeOriginal'])) $return['takestamp'] = strtotime($exif['DateTimeOriginal']);