Rework meta data display on photo page #45
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user