Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2017-08-02 07:30:19

rsamco
Member
From: Bend, Oregon
Registered: 2012-12-20
Posts: 177
Website

Photoswipe looping

Is there any way to prevent Photoswipe from looping around to an album's first/last image when the last/first image is swiped in the left/right direction? Instead, I'd prefer that the user either be returned to the album's "index" page or be kept on the last/first image. I know that Photoswipe has an underlying "loop" parameter, but I can't find a way in Backlight Designer to set it (e.g., under Backlight>Designer>Templates>Album>Design). TIA!


Rick

Offline

#2 2017-08-02 08:40:49

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Photoswipe looping

there are no user controls for that


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2017-08-02 08:51:22

rsamco
Member
From: Bend, Oregon
Registered: 2012-12-20
Posts: 177
Website

Re: Photoswipe looping

Thanks for the quick answer, Rod ... ok, so is there any low-level way to set Photoswipe's loop parameter to false?


Rick

Offline

#4 2017-08-02 09:04:21

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Photoswipe looping

not that I know of. You'd have to hack the code. I don't know where. You could look for a photoswipe js file in the backlight files.

But if you update to the 1.2 release, there is a control to loop the slideshow


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

Board footer

Powered by FluxBB