blueimp / Gallery

blueimp Gallery is a touch-enabled, responsive and customizable image & video gallery, carousel and lightbox, optimized for both mobile and desktop web browsers. It features swipe, mouse and keyboard navigation, transition effects, slideshow functionality, fullscreen support and on-demand content loading.
https://blueimp.github.io/Gallery/
Other
3.75k stars 984 forks source link

Feature request: zoom / full size view #255

Open MarvelWild opened 4 years ago

MarvelWild commented 4 years ago

Feature request: zoom / full size view

blueimp commented 3 years ago

Thanks for the feature request @MarvelWild. On touch devices, you can already zoom in with a two finger pinch open gesture.

If you don't need video support, you might also wanna check out PhotoSwipe (no affiliation), which does provide zoom support on both mobile and desktop devices.

marginal-original commented 1 year ago

Thanks for the feature request @MarvelWild. On touch devices, you can already zoom in with a two finger pinch open gesture.

If you don't need video support, you might also wanna check out PhotoSwipe (no affiliation), which does provide zoom support on both mobile and desktop devices.

Hi! Tell me where to find the code that is responsible for scaling on a mobile device. It does not work out to find and fix it yourself, the image does not scale on the phone! Could this be the case in older versions of the gallery?

sebastian-marinescu commented 1 year ago

Hi @marginal-original, do you maybe have a <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">-tag in your website?

If so, the user-scalable=no disables zoom on mobiles. If not, you maybe have a different script preventing it?