1

I've just set up photoswipe, but my architecture of an existing site doesn't allow me to build the common photoswipe-architecture:

https://codepen.io/dimsemenov/pen/ZYbPJM

My site has a more complex structure with more parent <div> tags around the images.

But I want all images, spread over the site, to be able to be swiped through, as if it would be one big gallery

How could that be possible?

Malte
  • 454
  • 2
  • 5
  • 20
  • 1
    Maybe look for alternatives, for example, it would be quite easy accomplished using fancybox (http://fancyboxjs.com) – Janis Sep 17 '19 at 17:51
  • @Janis thanks for the recommendation! I had a hard time searching for great alternatives, there are so many old libraries. Fancybox seems to be a usable one, I'll give it a try. – Malte Sep 20 '19 at 08:54

0 Answers0