Skip to content

Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.

feat(photo): 更新照片EXIF信息显示,使用35mm格式的焦距

Timothy Yin24c2150486fe
diff --git a/app/components/masonry/PhotoItem.client.vue b/app/components/masonry/PhotoItem.client.vue
index 5ac6ec0a..8980d0c6 100644
--- a/app/components/masonry/PhotoItem.client.vue
+++ b/app/components/masonry/PhotoItem.client.vue
@@ -303,24 +303,24 @@ onUnmounted(() => {
class="text-sm opacity-70 mt-1 flex gap-2"
>
<div
- v-if="photo.exif.FocalLength"
+ v-if="photo.exif.FocalLengthIn35mmFormat"
class="flex items-center gap-1"
>
<Icon
name="streamline:image-accessories-lenses-photos-camera-shutter-picture-photography-pictures-photo-lens"
/>
- <span class="text-xs font-medium">{{
- photo.exif.FocalLengthIn35mmFormat
- }}</span>
+ <span class="text-xs font-medium">
+ {{ photo.exif.FocalLengthIn35mmFormat }}
+ </span>
</div>
<div
v-if="photo.exif.FNumber"
class="flex items-center gap-1"
>
<Icon name="tabler:aperture" />
- <span class="text-xs font-medium"
- >f/{{ photo.exif.FNumber }}</span
- >
+ <span class="text-xs font-medium">
+ f/{{ photo.exif.FNumber }}
+ </span>
</div>
<div
v-if="photo.exif.ExposureTime"