dynamically get image size in React Native Tutorials