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

Load images from URI #310

Closed
lschmierer opened this issue Apr 18, 2017 · 4 comments
Closed

Load images from URI #310

lschmierer opened this issue Apr 18, 2017 · 4 comments

Comments

@lschmierer
Copy link

I need the possibility to render images from URI, especially images from the local filesystem.

Is this currently possible?

@lschmierer
Copy link
Author

I have looked into the source (at least for android) and wonder wether this should work.
The android implementation uses Fresco and it should work with any kind of URI (local or from network).
However, It didn't worked when I tried it.

The Todo list of the README states "Load Image from URL.". What is meant by that? What I want to accomplish or loading actual SVGs?

@lschmierer
Copy link
Author

It works. The accident was with me.
Forgot to start URL with "file://".

@henrikra
Copy link

Can you provide example code for this?

@lschmierer
Copy link
Author

Just use Image with href="file://path/to/local/file.svg"

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

2 participants