Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image is not being rendered #3

Closed
andruxnet opened this issue May 3, 2017 · 6 comments
Closed

Image is not being rendered #3

andruxnet opened this issue May 3, 2017 · 6 comments

Comments

@andruxnet
Copy link

I did the following:

yarn add react-native-fast-image
react-native link

Then I replaced one of my images from this:

                    <Image
                      style={styles.image}
                      source={{uri: imageUri}}
                    />

to this:

                    <FastImage
                      style={styles.image}
                      source={{
                        uri: imageUri,
                        priority: FastImage.priority.normal,
                      }}
                      resizeMode={FastImage.resizeMode.contain}
                      onLoad={() => console.tron.log('loaded')}
                      onError={() => console.tron.log('error')}
                    />

I see the empty space where the image should be displayed, but no image. Am I missing something?

@DylanVann
Copy link
Owner

DylanVann commented May 3, 2017 via email

@andruxnet
Copy link
Author

I already did that, I stopped the packager and ran yarn start, then react-native run-ios, same problem

@DylanVann
Copy link
Owner

I think it was an issue with the last version published.

Could you try installing the latest version? I just created a demo project, installed and ran it, seems good now.

@andruxnet
Copy link
Author

That did it!

Thanks a lot for the fast response.

@DylanVann
Copy link
Owner

You're welcome, thanks for finding the issue 😄 .

@jenilshah93
Copy link

im having the same problem, installed the latest version, problem still doesn't seem to go

jcady pushed a commit to b8ta/react-native-fast-image that referenced this issue Jan 4, 2018
muja555 added a commit to Deelzat/react-native-fast-image that referenced this issue Apr 28, 2022
chrispader pushed a commit to margelo/react-native-fast-image that referenced this issue Nov 21, 2023
bori-cc added a commit to CravingCollector-Inc/react-native-fast-image that referenced this issue Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants