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

Unable to use local images #67

Closed
Minte-grace opened this issue Apr 30, 2024 · 6 comments · Fixed by #90
Closed

Unable to use local images #67

Minte-grace opened this issue Apr 30, 2024 · 6 comments · Fixed by #90
Assignees

Comments

@Minte-grace
Copy link

The story image works only with hosted images I couldnt make it work with local images any solution to this?

@LukasFridmansky LukasFridmansky self-assigned this May 1, 2024
@LukasFridmansky
Copy link
Member

Hello, thank you for your suggestion. I will change it

@LukasFridmansky
Copy link
Member

Hello, you can now use source property.

@Adil7767
Copy link
Contributor

Still unable to use local images as userProfile image if there is no profile then i want to show default images in avatar list

@LukasFridmansky LukasFridmansky linked a pull request Jul 12, 2024 that will close this issue
@LukasFridmansky
Copy link
Member

Hey, so you can use avatarSource now

@Adil7767
Copy link
Contributor

thank you ,please mention these things to Readme or we can make a document for this library as it is amazing one library

@Adil7767
Copy link
Contributor

Adil7767 commented Jul 12, 2024

export const GREY_LOGO = require('../../assets/images/grey-icon.png')

I am just getting loader not avatarSource image
after console this thing
{console.log(avatarSource,'avatarSource')}
i got
{"GREY_LOGO": 9} avatarSource
but when i console same thing in my component i got
just 9
i and if i replace this line like
source={avatarSource?.GREY_LOGO ?? { uri: imgUrl }}
then image display well

thanks again for this amazing library
plz fix the issue as soon as possible or plz mention here how to use local image

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

Successfully merging a pull request may close this issue.

3 participants