react-native-image-gallery
react-native-image-gallery copied to clipboard
Provide options for min/max zoom ratio
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.
If anyone's interested, I've forked this repo adding a maxScale option. https://github.com/ever-digital/react-native-image-gallery
Wow~ Thank you so much. Works perfectly.