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.

fix:The sharing panel displays all camera information

tanmantang671ce98fcd12
diff --git a/app/components/OgImage/Photo.vue b/app/components/OgImage/Photo.vue
index 6de73848..c3e07cca 100644
--- a/app/components/OgImage/Photo.vue
+++ b/app/components/OgImage/Photo.vue
@@ -1,4 +1,6 @@
<script lang="ts" setup>
+import { formatCameraInfo } from '~/utils/camera'
+
const props = withDefaults(
defineProps<{
photo?: Photo
@@ -93,7 +95,7 @@ const description = computed(() => (props.description || '').slice(0, 200))
mode="svg"
/>
<span class="truncate">
- {{ photo.exif?.Model }}
+ {{ formatCameraInfo(photo.exif.Make, photo.exif.Model) }}
</span>
</div>
</div>