Currently, I am in the process of developing a React Native mobile app specifically for photo albums. My goal is to display square images that are cropped from wider images (Image 1) as Image 2.
My question is: What is the best way to properly zoom into the center of an image using React Native? Can this be achieved with StyleSheet (CSS), or are there any libraries available for this purpose?
Image 1 - 2048 px x 1152 px https://i.sstatic.net/dB3Vt.jpg
Image 2 - 1080 px x 1080 px https://i.sstatic.net/HYian.jpg