From b48f7dbb9e3fb0c8f8929b3d6959f219b05b1ee7 Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Fri, 12 Jan 2024 10:42:51 +0100 Subject: [PATCH] ViewPhoto: re-add accidentally omitted units --- controllers/ViewPhoto.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/ViewPhoto.php b/controllers/ViewPhoto.php index 82cb41a7..ab53c0ff 100644 --- a/controllers/ViewPhoto.php +++ b/controllers/ViewPhoto.php @@ -98,10 +98,10 @@ class ViewPhoto extends HTMLController $metaData['Shutter Speed'] = $exif->shutterSpeedFraction(); if (!empty($exif->aperture)) - $metaData['Aperture'] = number_format($exif->aperture, 1); + $metaData['Aperture'] = 'f/' . number_format($exif->aperture, 1); if (!empty($exif->focal_length)) - $metaData['Focal Length'] = $exif->focal_length; + $metaData['Focal Length'] = $exif->focal_length . ' mm'; if (!empty($exif->iso)) $metaData['ISO Speed'] = $exif->iso;