Allow swipe up/down actions to close images on mobile

AI-generated summary

Users discuss adding swipe-up/down gestures to close images on mobile in Discourse, citing usability issues on large phones like the iPhone 12 Pro Max. darkpixlz highlights the inconvenience of reaching the top-close button and suggests adopting common mobile app gestures. Stephen recommends Apple’s Reachability feature as a workaround, noting it’s not mutually exclusive with gesture support. darkpixlz agrees but still favors familiar swipe gestures. Don explains that implementing swipe gestures would require replacing the current lightbox system (Magnific Popup), referencing a proposal to switch to PhotoSwipe and mentioning a Custom Lightbox theme component. Canapin endorses PhotoSwipe based on positive experience with it on WordPress sites. Karl_Reza praises Telegram’s lightbox behavior — tap to open, double-tap to zoom, and swipe down/up to exit — as an ideal model. The discussion balances user preference for intuitive gestures with technical constraints of the current system.

When you have a big phone it gets frustrating to have to have to reach up to the close button to close out an image

When you swipe up/down, compared to most mobile apps it should close out to the image instead of scrolling farther.

1 Like

Out of curiosity which big phone are you using?

A 12 pro max with the minimum text size. It’s nice to have a big screen but a bit of a pain to reach some higher up buttons

Check this out:

I use my phone almost exclusively with one hand, Reachability is a game changer for that :exploding_head:

2 Likes

Thanks. I still think it’s a good idea to have a gesture I’m used to using on most all other apps.

And also seriously, that’s nice to have.

1 Like

I’m not suggesting the above isn’t useful, the approaches aren’t mutually exclusive. Being able to reach the top of every app on a large phone is pretty useful too :smiley:

1 Like

Hello,

Yeah swipe gestures are pretty cool but I think that would be a huge change because the whole lightbox system should change. Magnific Popup, the current one is not support swipe gestures. I created a topic about it… Use PhotoSwipe instead Magnific Popup?

But you may also interested of the Custom Lightbox theme component. :slightly_smiling_face:

3 Likes

I’ve used PhotoSwipe on several WordPress websites and it was my best image viewing experience both on desktop and mobile so far. If Discourse’s image viewer was to change, I’d be in favor of this one (or similar). :+1:

2 Likes

I like the lightbox of Telegram app. tap to open image, double tap to zoom, double tap to shrink back to original size and swipe down (or up) to exit lightbox.

1 Like