#151 #96 Add album descriptions

This commit is contained in:
Alan Grainger
2026-02-16 21:48:14 +13:00
parent fe0aee8df9
commit 08b9cd1056
5 changed files with 27 additions and 1 deletions
+8
View File
@@ -158,6 +158,7 @@ class Render {
items,
openItem,
title: this.title(share),
description: getConfigOption('ipp.showGalleryDescription', false) ? this.description(share) : '',
publicBaseUrl,
path: '/share/' + share.key,
showDownload: canDownload(share),
@@ -173,6 +174,13 @@ class Render {
return share.description || share?.album?.albumName || 'Gallery'
}
/**
* Get the Immich shared link description
*/
description (share: SharedLink) {
return share?.album?.description || ''
}
/**
* Download all assets as a zip file
*/