Photoswipe detail view as infinite loop only?

Phoca Gallery - image gallery extension
Zdenda
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 10 Jan 2021, 12:18

Photoswipe detail view as infinite loop only?

Post by Zdenda »

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!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Photoswipe detail view as infinite loop only?

Post by Jan »

Hi, I don't know such parameter, so maybe this should be a question on Photoswipe developers :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply