Carousel from a masonary grid

I have a masonry grid. When I click on any image I want to open a carousel. with pagination. I'm using vanilla js. Is there any library I can use to achieve this? Sorry if this is very basic question.
10 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Abdul Ahad⚡
Abdul Ahad⚡OP2y ago
Yes, most of them directly open as carousel, not from gallery. I'm not able to use those.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Abdul Ahad⚡
Abdul Ahad⚡OP2y ago
this is $25 so I'll try the flickity one. will update you how it goes
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Abdul Ahad⚡
Abdul Ahad⚡OP2y ago
haha, it has exactly what I was looking for. https://www.lightgalleryjs.com/demos/thumbnails/#static-thumbnails
lightGallery
Thumbnails
Create JavaScript image gallery with animated thumbnails.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Abdul Ahad⚡
Abdul Ahad⚡OP2y ago
just read about it GPL Licence. Yeah, I don't mind if my code being open-source. will try to use lightgallery
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Abdul Ahad⚡
Abdul Ahad⚡OP2y ago
just got it, thank you. Appreciate it
Want results from more Discord servers?
Add your server