react native - Image from Google REST API won't display -


in react native, trying display image retrieve fetch (i hard-coded value here purpose of example):

<image           source={uri:{'http://books.google.com/books/content?id=snybrgeacaaj&printsec=frontcover&img=1&zoom=5&source=gbs_api'}}         /> 

but won't display anything... idea how this?

enter image description here

update form correct show image when have uri :

<image  source={{ uri: 'https://books.google.com/books/content?id=snybrgeacaaj&printsec=frontcover&img=1&zoom=5&source=gbs_api' }}                     style={{width: 400, height: 400}}/> 

review documentation oficial https://facebook.github.io/react-native/releases/0.21/docs/image.html


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -