Closed azanli closed 6 years ago
Nevermind, the height and width doesn't matter. What went wrong was that I was returning the asynchronous cached path like this <Image source={{ uri: this.getThumbnail(filePath) }} />
when I should've been using state
to update the component with the returned path.
I'm unable to render a thumbnail image with this library. It returns a
result
with apath
for the cached thumbnail but theheight
andwidth
properties are both0
. Do these properties suggest that the image cannot be rendered? I am providing my ownheight
andwidth
style properties to the<Image />
itself.