question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FastImage not working

See original GitHub issue

After apply FastImage. It not working for me only show border with color red. Please help me thanks.

My code

<FastImage style={{height:100, width:100}} source={{ uri: 'https://unsplash.it/400/400?image=1', headers:{ Authorization: 'someAuthToken' }, priority: FastImage.priority.normal, }} resizeMode={FastImage.resizeMode.contain} />

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

8reactions
Unlightencommented, Jan 8, 2018

What if you are using expo?

1reaction
tiberiumihaicommented, Nov 26, 2017

You installed the library via npm install react-native-fast-image --save, probably run react-native link but you didn’t add the libFastImage.a to your .plist configuration, which may be different from the one that the link command uses. That was my case.

After adding it to your dependecies, rebuild the project in XCode.

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Some images are not showing. #242 - GitHub
i am trying to retrieve an image from an S3 bucket gateway, that is not public, so it has an x-api-key, but it's...
Read more >
Some images are not showing in react-native-fastimage
I tried to use <Image> component, it works. The problem is with FastImage and S3 Image. I added 'Content-Type' in headers but it's...
Read more >
react-native-fast-image - npm
FastImage is an Image replacement that solves these issues. FastImage is a wrapper around SDWebImage (iOS) and Glide (Android).
Read more >
Top 5 react-native-fast-image Code Examples - Snyk
Learn more about how to use react-native-fast-image, ... Use Snyk Code to scan source code in minutes - no build needed - and...
Read more >
Some images are not showing in react-native-fastimage-React ...
Coding example for the question Some images are not showing in react-native-fastimage-React Native.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found