-1
<Image
   style={{}}
   source={{
       uri: 'https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_92x30dp.png'
   }}
/>

Nothing is displayed on the screen

Reporter
  • 3,897
  • 5
  • 33
  • 47
DisplayName
  • 61
  • 1
  • 4
  • For network and data images, you will need to manually specify the dimensions of your image https://reactnative.dev/docs/image – Sachin Yadav Jul 28 '20 at 12:47
  • Does this answer your question? [Can't show Image in React Native](https://stackoverflow.com/questions/38114325/cant-show-image-in-react-native) – glinda93 Jul 28 '20 at 12:54

2 Answers2

0

Add styling to it like

<Image
  style={{
    width: 200,
    height: 200,
    resizeMode: "center"
  }}
  source={{
    uri:
      "https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_92x30dp.png"
  }}
/>
brijesh-pant
  • 967
  • 1
  • 8
  • 16
0

Try to set the width and height for Image tag in the style.

Odelia
  • 1