Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Photo grid, Flickity lightbox #25

Open
nfq opened this issue Feb 2, 2019 · 4 comments
Open

Photo grid, Flickity lightbox #25

nfq opened this issue Feb 2, 2019 · 4 comments

Comments

@nfq
Copy link

nfq commented Feb 2, 2019

Hi Dave,

Is there a way to have a photo thumbnail grid and when clicking on the thumb, it opens a lightbox/overlay with the correct image? I remember this was possible using fizzyUIUtils but that was on an older version. Wanting to attempt something like: https://feimosi.github.io/baguetteBox.js/

@desandro
Copy link
Member

desandro commented Feb 4, 2019

Is it possible: Yes! How do it: I don't think you need to use fullscreen.

  • Create a fullscreen Flickity carousel with CSS. See setGallerySize: false
  • Hide the Flickity carousel
  • When an image is clicked, select corresponding slide with Flickity using select method, and show the carousel

I need to build a demo to show this could work.

@nfq
Copy link
Author

nfq commented May 15, 2019

Hi @desandro I never replied to your answer. Thanks for your help, always great.
A demo would be great for future reference though!

@studiohic
Copy link

@desandro. Hope all well. Did you ever make a demo of this working? Thanks

@silicahd
Copy link

silicahd commented Jun 8, 2022

@desandro. Hope all well. Did you ever make a demo of this working? Thanks

I dont think so but here is another version
https://codepen.io/zuzhi/pen/VbgMYR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants