I am building an image gallery using photoswipe (http://photoswipe.com/), but I'm running into a small issue: when I initiate the gallery, it always shows the first image, regardless of which image I click on. Here's a pen showing my code: https://codepen.io/NordStorm/pen/Kqbpaj
What am I doing wrong?