ihor / react-native-scalable-image

React Native Image component which scales width or height automatically to keep the original aspect ratio
https://www.npmjs.com/package/react-native-scalable-image
MIT License
315 stars 67 forks source link

Image.getSize does not work for static images #1

Closed markusguenther closed 7 years ago

markusguenther commented 7 years ago

Image.getSize does not work for static images and therefore the library will fail when you use static or local images.

ihor commented 7 years ago

Hey,

Unfortunately, I don't have much time now to look into it. I created this library to reuse in my projects and my main priorities were to cover my needs. If you know the solution I would be happy to accept a pull request.

spoeck commented 7 years ago

I have a solution for this. I will create a pull request very soon!

ihor commented 7 years ago

Merged and released. Thanks for the PR @spoeck.

markusguenther commented 7 years ago

Awesome ... your are awesome.