ViewPhoto: re-add accidentally omitted units
This commit is contained in:
parent
d17d98a838
commit
b48f7dbb9e
@ -98,10 +98,10 @@ class ViewPhoto extends HTMLController
|
|||||||
$metaData['Shutter Speed'] = $exif->shutterSpeedFraction();
|
$metaData['Shutter Speed'] = $exif->shutterSpeedFraction();
|
||||||
|
|
||||||
if (!empty($exif->aperture))
|
if (!empty($exif->aperture))
|
||||||
$metaData['Aperture'] = number_format($exif->aperture, 1);
|
$metaData['Aperture'] = 'f/' . number_format($exif->aperture, 1);
|
||||||
|
|
||||||
if (!empty($exif->focal_length))
|
if (!empty($exif->focal_length))
|
||||||
$metaData['Focal Length'] = $exif->focal_length;
|
$metaData['Focal Length'] = $exif->focal_length . ' mm';
|
||||||
|
|
||||||
if (!empty($exif->iso))
|
if (!empty($exif->iso))
|
||||||
$metaData['ISO Speed'] = $exif->iso;
|
$metaData['ISO Speed'] = $exif->iso;
|
||||||
|
Loading…
Reference in New Issue
Block a user