• Resolved Pinwizkid

    (@pinwizkid)


    First off, great plugin! Works great right out of the box πŸ™‚

    A client of mine noticed that galleries with 3 or more images loop infinitely, but that galleries with 2 images don’t. Is there a way to get those to loop as well? Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Arno Welzel

    (@awelzel)

    This is a limitation of the PhotoSwipe library. Also see the API documentation of PhotoSwipe:

    Loop slides when using swipe gesture. If set to true you’ll be able to swipe from last to first image. Option is always false when there are less than 3 slides.

    However, I just tested a modification in the library which allows looping with 2 pictures as well. So the next update will get this.

    Plugin Author Arno Welzel

    (@awelzel)

    The latest update to version 2.4 contains the fix, so also two images can be looped infinitely.

    Thread Starter Pinwizkid

    (@pinwizkid)

    Awesome – thanks for the fast update!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Infinite Loop with 2 Images’ is closed to new replies.