React-native-image-viewer: ExceptionsManager.js:73 No suitable image URL loader found for (null)

Created on 20 Aug 2018  路  5Comments  路  Source: ascoders/react-native-image-viewer

Most helpful comment

https://github.com/ascoders/react-native-image-viewer/issues/186#issuecomment-414939558, this is my solution, hope it can help.

All 5 comments

const images = [{
url: 'https://avatars2.githubusercontent.com/u/7970947?v=3&s=460',
// You can pass props to .
props: {
// headers: ...
}
}, {
props: {
// Or you can set source directory.
source: require('../../assets/imgs/1.jpg')
}
}]

sorry锛孖 solved

@gucaoyouxiang1 Can you please explain how you solved it? Facing the same issue and tried everything without any success. Thank you!

https://github.com/ascoders/react-native-image-viewer/issues/186#issuecomment-414939558, this is my solution, hope it can help.

@xianglinhe God bless you and I wish you all the best with whatever you're doing! Thank you so much and I'm really really grateful to you!

Was this page helpful?
0 / 5 - 0 ratings