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:
parent
842fb41879
commit
c275a6fa63
8 changed files with 17 additions and 1009 deletions
generate/static/js
|
@ -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 }
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue