1
0
Fork 0
mirror of https://github.com/Radiquum/photos.git synced 2025-06-02 15:29:34 +05:00

fix/generator: add download button to slides

This commit is contained in:
Kentai Radiquum 2025-02-21 21:33:39 +05:00
parent 842fb41879
commit c275a6fa63
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
8 changed files with 17 additions and 1009 deletions
generate/static/js

View file

@ -5,11 +5,13 @@ galleries.forEach((item, idx) => {
plugins: [lgThumbnail, lgHash, lgShare, lgFullscreen, lgZoom],
speed: 500,
thumbnail: true,
animateThumb: false,
download: true,
animateThumb: true,
zoomFromOrigin: false,
toggleThumb: true,
toggleThumb: false,
galleryId: Number(item.getAttribute('data-year')),
hash: true,
customSlideName: true,
mobileSettings: { controls: true, showCloseIcon: true, download: true }
});
});