#27 #66 #77 Add caption from image description metadata

This commit is contained in:
Alan Grainger
2025-05-05 12:25:30 +12:00
parent 4fd13219a6
commit fd73263cc1
8 changed files with 36 additions and 20 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ class Render {
downloadUrl,
thumbnailUrl: baseUrl + immich.photoUrl(share.key, asset.id, ImageSize.thumbnail),
video,
description: asset?.exifInfo?.description ?? ''
description: getConfigOption('ipp.showMetadata.description', false) && typeof asset?.exifInfo?.description === 'string' ? asset.exifInfo.description : ''
})
}
res.render('gallery', {