ViewPhoto: re-add accidentally omitted units

This commit is contained in:
Aaron van Geffen 2024-01-12 10:42:51 +01:00
parent d17d98a838
commit b48f7dbb9e

View File

@ -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;