Lightbox pops up fine when I use data-lightbox="image" but will not work with "gallery" or "gallery-item" if it is in an isotope filter grid.
I have tried this with both javascript load types:
and
This code uses GoHugo templating: https://gohugo.io/
WORKS:
Media Gallery
{{ if (isset .Params "banner") }}
[

](/wmh/img/fullsize/{{ .Params.banner }})
{{ end }}
{{ range $index, $imgs := .Params.image }}
[

](/wmh/img/fullsize/{{ . }})
{{ end }}
{{ range $index, $vids := .Params.video }}
[
](https://www.youtube.com/watch?v={{ . }})
{{ end }}
DOES NOT WORK:
- [Show All](#)
- [1800-1949](#)
- [1950](#)
- [1960](#)
- [1970](#)
- [1980-2017](#)
-
Shuffle
{{ range $index, $imgs := .Params.image1800 }}
[

](/wmh/img/fullsize/newspapers/{{ . }})
{{ end }}
{{ range $index, $imgs := .Params.image1950 }}
[

](/wmh/img/fullsize/newspapers/{{ . }})
{{ end }}
{{ range $index, $imgs := .Params.image1960 }}
[

](/wmh/img/fullsize/newspapers/{{ . }})
{{ end }}
{{ range $index, $imgs := .Params.image1970 }}
[

](/wmh/img/fullsize/newspapers/{{ . }})
{{ end }}
{{ range $index, $imgs := .Params.image1980 }}
[

](/wmh/img/fullsize/newspapers/{{ . }})
{{ end }}
