miromannino / Justified-Gallery

Javascript library to help creating high quality justified galleries of images. Used by thousands of websites as well as the photography community 500px.
http://miromannino.github.io/Justified-Gallery/
MIT License
1.68k stars 299 forks source link

Pictures not showing at all because of figure-tag #295

Closed zamweis closed 5 years ago

zamweis commented 5 years ago

Hello, first off all, the justified gallery is a really nice tool, big ups.

I'm able to get the tool working as long as I use the following structure: struc1

The thing is, that I want to use a Photoswipe as lightbox, which need the following structure: struc2

When I checket the css file, it looked to me as if it should work. The structure I want seems to be allready in place in the css: .justified-gallery > figure > a > img { ... }

But when I add the "figure"-tags, no pictures will be visible. I attached a picture of the test-file on which I tried to get it working in the described structure.

test