mirror of
https://github.com/Radiquum/photos.git
synced 2025-05-01 02:19:43 +05:00
feat/generator: update thumbnails grid view
This commit is contained in:
parent
27b0d27f01
commit
4bb907823f
7 changed files with 91 additions and 28 deletions
|
@ -2,15 +2,13 @@ const galleries = document.querySelectorAll('[data-type="gallery"]');
|
|||
|
||||
galleries.forEach((item, idx) => {
|
||||
lightGallery(item, {
|
||||
// plugins: [lgThumbnail, lgHash, lgShare, lgFullscreen, lgZoom],
|
||||
plugins: [lgThumbnail, lgHash, lgZoom],
|
||||
// speed: 500,
|
||||
// thumbnail: true,
|
||||
// animateThumb: true,
|
||||
// zoomFromOrigin: true,
|
||||
// allowMediaOverlap: false,
|
||||
// mode: 'lg-zoom-in-out',
|
||||
// galleryId: Number(item.getAttribute('data-year')),
|
||||
plugins: [lgThumbnail, lgHash, lgShare, lgFullscreen, lgZoom],
|
||||
speed: 500,
|
||||
thumbnail: true,
|
||||
animateThumb: false,
|
||||
zoomFromOrigin: false,
|
||||
toggleThumb: true,
|
||||
galleryId: Number(item.getAttribute('data-year')),
|
||||
hash: true,
|
||||
customSlideName: true,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue