Photoswipe detail view as infinite loop only?
Posted: 10 Jan 2021, 12:31
We use Photoswipe as detail view in Phoca Gallery which is really great!!! But when I want to go through one specific album when I reach the last image I swipe to the next one which is the first image, but users realize that they have seen these images from the begin of the album after several pictures :-(. The same "problem" is when I am on the first image and I can simply swipe to the last picture. Simply I see that album in Photoswipe mode works only as infinity loop.
Other modes do not have this behaviour. I did not find any setting which I could use to change this behavior.
Do you know how to turn off this infinity loop - on first image to go only second and not last image?
Thank you in advance for any help!
Other modes do not have this behaviour. I did not find any setting which I could use to change this behavior.
Do you know how to turn off this infinity loop - on first image to go only second and not last image?
Thank you in advance for any help!