From 13e4fe231e33da127542de2dc65067776c883db0 Mon Sep 17 00:00:00 2001 From: Alan Grainger <16197738+alangrainger@users.noreply.github.com> Date: Mon, 26 Jan 2026 16:44:26 +1300 Subject: [PATCH] Use Immich ID as the slide index --- app/config.json | 1 + app/src/render.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/config.json b/app/config.json index 2e7c744..e8108a5 100644 --- a/app/config.json +++ b/app/config.json @@ -20,6 +20,7 @@ "lightGallery": { "controls": true, "download": true, + "customSlideName": true, "mobileSettings": { "controls": false, "showCloseIcon": true, diff --git a/app/src/render.ts b/app/src/render.ts index 48a9c9a..bf735b6 100644 --- a/app/src/render.ts +++ b/app/src/render.ts @@ -141,7 +141,7 @@ class Render { video ? ``, + ` data-download="${this.getFilename(asset)}" data-slide-name="${asset.id}">`, video ? '
' : '', '
' ].join('')