swiper icon indicating copy to clipboard operation
swiper copied to clipboard

Add ability to constrain max zoom to 100% of original image size

Open broox opened this issue 1 year ago • 0 comments

A numeric maxRatio multiplier can be specified as an option on the Zoom module, which is great, however the image can scale past the image's original resolution. This adds a new boolean parameter called limitToOriginalSize that will prevent zooming past the image's natural size.

Closes #7303

broox avatar Feb 11 '24 22:02 broox