react-native-image-gallery icon indicating copy to clipboard operation
react-native-image-gallery copied to clipboard

Provide options for min/max zoom ratio

Open howg0924 opened this issue 7 years ago • 2 comments
trafficstars

Currently, the image cannot zoom out smaller than the screen. It will bounce back to screen size. And the image also cannot zoom in bigger than zoom ratio 1. It will bounce back to zoom ratio 1.

I believe there are many situations that user may want to zoom in an image with a zoom ratio larger than 1, especially most mobile phones nowadays equip with very high pixel density screen. There are still too many details cannot be seen clearly when the zoom ratio = 1.0.

It would be wonderful if options can be provided to control min/max allowed zoom ratios just like many other similar libraries did. Thank you.

howg0924 avatar Mar 22 '18 05:03 howg0924

If anyone's interested, I've forked this repo adding a maxScale option. https://github.com/ever-digital/react-native-image-gallery

alexandrecanuto avatar Aug 31 '18 14:08 alexandrecanuto

Wow~ Thank you so much. Works perfectly.

howg0924 avatar Sep 01 '18 11:09 howg0924