nextcloud / gallery

DEPRECATED Gallery app was replaced by Photos
https://github.com/nextcloud/photos
GNU Affero General Public License v3.0
109 stars 58 forks source link

Mobile users should be able to "swipe" through photos instead of clicking on icons. [$5] #30

Open oparoz opened 8 years ago

oparoz commented 8 years ago

From @setnes on May 16, 2015 18:23

Swiping photos with fingers is the expected user interface behavior for viewing photos on mobile devices. It would be great if the gallery slideshow viewer could incorporate this feature. An example project that does this well is PhotoSwipe. There might be other ways to accomplish this though.

http://photoswipe.com/

There is a $5 open bounty on this issue. Add to the bounty at Bountysource.

Copied from original issue: owncloud/gallery#141

oparoz commented 8 years ago

I agree. It conflicts with the zooming capabilities though, so that's one reason it wasn't implemented yet. PhotoSwipe could be a solution. It needs to be tested as a replacement of Bigshot.

oparoz commented 8 years ago

So, Photoswipe can't be used yet, as described here: https://github.com/owncloud/galleryplus/issues/142#issuecomment-102802302

oparoz commented 8 years ago

And it doesn't mean it can't be implemented some other way. There are libraries we can use, but we need to make sure the one we pick doesn't interfere with the zooming control.

oparoz commented 8 years ago

Just a thought. It might be possible to detect a swipe on the bigshot container, but in order to make the effect work, we would have to load between 1 and 2 extra Bighsot objects so that we can swipe between pictures. I'm not sure that it's ideal, especially on iOS which is very memory constrained and crashes when running out.