diff --git a/src/photo/image-response/PhotoImageResponse.tsx b/src/photo/image-response/PhotoImageResponse.tsx index 499ca283..5874e4dd 100644 --- a/src/photo/image-response/PhotoImageResponse.tsx +++ b/src/photo/image-response/PhotoImageResponse.tsx @@ -1,4 +1,4 @@ -import { Photo } from '..'; +import { Photo, photoHasExifData } from '..'; import { AiFillApple } from 'react-icons/ai'; import ImageCaption from './components/ImageCaption'; import ImagePhotoGrid from './components/ImagePhotoGrid'; @@ -30,25 +30,26 @@ export default function PhotoImageResponse({ height, ...OG_TEXT_BOTTOM_ALIGNMENT && { imagePosition: 'top' }, }} /> - - {photo.make === 'Apple' && + {photoHasExifData(photo) && + + {photo.make === 'Apple' && +
+ +
} + {model && +
+ {model} +
}
- -
} - {model && + {photo.focalLengthFormatted} +
- {model} -
} -
- {photo.focalLengthFormatted} -
-
- {photo.fNumberFormatted} -
-
- {photo.isoFormatted} -
-
+ {photo.fNumberFormatted} + +
+ {photo.isoFormatted} +
+
} ); };