Adjusting Image Zoom Level on Mobile Devices

Hi, when clicking on an image it’s impossible to zoom in - zoom out as much as I want with two fingers. We should be able to adjust zoom level.

This is possible in many other sites and should be in Discourse as well.

Example:

SmartSelectGIF_2016-08-31-11-41-17

3 Likes

This seems to be browser-specific. On iOS two-finger zoom works as expected in Safari, but in Chrome zoom only works as a single tap to max zoom in/zoom out.

4 Likes

You can tap again to make the image full size in Android; I just tested it. While you can’t pinch, you can certainly scroll around and look at details, so if your goal is “look closely at the image” you can do that, just not by pinching. Tap, and tap again.

Not sure if there’s a way to selectively enable pinch zoom in that specific case @falco?

3 Likes

Some more info on this Cannot use zoom for lightbox images on phones - #28 by codinghorror

Will have a look at it

EDIT: Opened a PR :slight_smile:

https://github.com/discourse/discourse/pull/7161

6 Likes

@omarfilip @codinghorror Yes, I’m using Chrome too. It would be better if it work as in Safari.

Thanks :slightly_smiling_face: @venarius

1 Like