diff --git a/ui/src/components/sidebar/PhotoSidebar.js b/ui/src/components/sidebar/PhotoSidebar.js index 43993e0..6a5a0e5 100644 --- a/ui/src/components/sidebar/PhotoSidebar.js +++ b/ui/src/components/sidebar/PhotoSidebar.js @@ -88,8 +88,17 @@ const SidebarContent = ({ photo, hidePreview }) => { ) exif.dateShot = new Date(exif.dateShot).toLocaleString() - if (exif.exposureProgram) + if (exif.exposureProgram) { exif.exposureProgram = exposurePrograms[exif.exposureProgram] + } + + if (exif.aperture) { + exif.aperture = `f/${exif.aperture}` + } + + if (exif.focalLength) { + exif.focalLength = `${exif.focalLength}mm` + } exif.exposureProgram = exifItems = exifKeys.map(key => (