Support password share links

This commit is contained in:
Alan Grainger
2024-11-01 11:58:27 +01:00
parent ede15bcd68
commit 356d9280d4
10 changed files with 311 additions and 75 deletions
+4
View File
File diff suppressed because one or more lines are too long
+4
View File
@@ -45,3 +45,7 @@ html {
#lightgallery a:has(.play-icon):hover .play-icon {
opacity: 1;
}
#password {
color: white;
}
+20
View File
@@ -0,0 +1,20 @@
function initLightGallery () {
lightGallery(document.getElementById('lightgallery'), {
plugins: [lgZoom, lgThumbnail, lgVideo, lgFullscreen],
/*
This license key was graciously provided by LightGallery under their
GPLv3 open-source project license:
*/
licenseKey: '8FFA6495-676C4D30-8BFC54B6-4D0A6CEC',
/*
Please do not take it and use it for other projects, as it was provided
specifically for Immich Public Proxy.
For your own projects you can use the default license key of
0000-0000-000-0000 as per their docs:
https://www.lightgalleryjs.com/docs/settings/#licenseKey
*/
speed: 500
})
}