Open freyana opened 8 years ago
This is available in the PhotoSwipe skin to see an example album open: https://andrewolff.jalbum.net/PS_JustifiedGallery/
I guess this issue can be closed, as PhotoSwipe is already updated to v4: https://github.com/dimsemenov/photoswipe
@jrondorf this issue has nothing to do with the version number I think. I use the latest version of PhotoSwipe.
I am able to use photoswipe with Justified Gallery.
Me too!
Could you please share a sample of PhotoSwipe and JustifiedGallery working together? For me it's not working (latest version of both plugins) so I guess my implementation is incorrect. Any help is very much appreciated.
@freyana, here is another example: https://www.andrewolff.nl/FotoSerie/Twente/Ootmarsum-Springendal/Springendal/
Add the following to the justified gallery call:
selector: 'a, figure:not(.spinner)'
and it should work. It worked for me.
@decourse, thank you so much, that's exactly what was needed to make it work for me :-)
I have a follow-up question: How exactly does the "selector" option work and what is the syntax for it? Would it be possible to select e.g. DIVs with a certain class?
My pleasure. I'm no coder, so I don't know how it works exactly. I'm just happy that I found something that works.
Hi,
I would like to combine Justified-Gallery with PhotoSwipe (http://photoswipe.com/). However, PhotoSwipe requires the following structure for each image inside a gallery:
But Justified-Gallery does not work with the
Is there any option to make this work?
Thanks for your help. Regards, Freyana