I'm using PhotoSwipe on a page where I have four different galleries (Business Catalyst gallery modules, actually). When I open the gallery and click through the images, it doesn't stop at the end of that gallery but continues to the next gallery. I want the slideshow to stop at the last picture in the gallery so the user must close it to view the next gallery.
Asked
Active
Viewed 819 times
0
-
1You need to post your code on here to get any kind of reply. Try jsFiddle.net – JerryHuang.me Mar 07 '13 at 00:02
1 Answers
0
You need to set loop option to false when you are attaching the photoswipe. Like this:
Code.PhotoSwipe.attach(_Pictures,
{
target: $('#carousel'),
loop: false
}

ToddK
- 765
- 9
- 16