Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
Martin
Experienced
Topic Author
Posts: 651
Joined: 30 Jan 2011, 23:24

Swiping images in gallery of only 2 images

09 Jun 2016, 10:33

I noticed a smaller bug.
When you've got a gallery that has only 2 images, you cannot endlessly swipe to the right (or left).
When you've got more than 2 images, this can be done.

For instance, when you've got 3 images:
You enlarge the first one and then you can swipe tot #2, then to #3, then to #1 and so on.

When you've got only 2 images:
You can enlarge the first one and then swipe to #2, but when you swipe again to the right, it stucks.
And the only way to see #1 again is to swipe in the other direction (to the left in this example).

But, as I said: only little buggie :-)
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: Swiping images in gallery of only 2 images  Topic is solved

09 Jun 2016, 11:14

This is by design: loop only applies when there are 3 or more images. I guess you could argue that it should loop also with two images, but the idea here is that looping between two images doesn't make any functional sense. If there are 3 images or more, the loop provides a "shortcut" to get back to first image, without swiping backwards.
 
User avatar
Martin
Experienced
Topic Author
Posts: 651
Joined: 30 Jan 2011, 23:24

Re: Swiping images in gallery of only 2 images

09 Jun 2016, 16:05

Sounds reasonable ;-)