Images are not visible in ListItem component via url
See original GitHub issueIssue type
I’m submitting a … (check one with “x”)
- bug report
- feature request
Issue description
Current behavior:
It only shows a gray bar but nothing else
Expected behavior: It should show the image provided from Image component
Related code:
Providing my image to my list component as an object like this (just a wrapper to make it more compatible with my app):
icon: () => <Image source={{ uri: user.actor_details.profile_picture }} style={{ width:50, height:50 }}/>
You can see my wrapper component for list here
Other information:
OS, device, package version Tested on LG G7 ThinQ on Android 9.0 also on Emulator which runs on Android Q, both gives me same results.
"react-native-ui-kitten": "^4.1.0",
"react-native": "0.59.3",
"react": "16.8.3"
"@eva-design/eva": "^1.0.1"
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Images via URL not displaying on custom list - Get Help - Adalo
My images display via URL fine when I use a regular list, however, they do not show if I am using a custom...
Read more >Images from URI source not showing in React Native
FlatList used to list the items in 3 columns via photo id. Screenshot shows the 3 columns but no photos. Photo.js const url...
Read more >Multi-image field overview | Webflow University
The Multi-image Field is a Collection field that allows you and your collaborators to upload multiple images for your Collection items and use...
Read more >What are impressions, position, and clicks? - Google Support
This page helps explain impressions, position values, and click data as used in Search Console, and especially in the Performance reports.
Read more >Image List React component - Material UI - MUI
Quilted image lists emphasize certain items over others in a collection. They create hierarchy using varied container sizes and ratios. Breakfast; Burger ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I had the same error with an external image. I found out that it was the style that was given. Each picture was filled with the tintColor. So I deleted the tintColor style and now it works.
That is the style for the “icon”:
{ width: 40, height: 40, marginHorizontal: 8, tintColor: '#8F9BB3' }
So I removed the tintColor.
Also, this is useful when you want to adjust image size, just delete
style.width
&style.height