Hello All , I would like show the image from the File path example from c:/foldername/x.png #9869
srirayavarapu
started this conversation in
General
Replies: 1 comment 1 reply
-
You should use relative URLs from the app project. I'm not sure that the asset import will work correctly specifying a full path to something outside of the app project. Or if you really want it to load the file at that location, you could use source='file://c:/Users/username/Pictures/66.png', but that would require that the image is already on the machine that installs the app -- and generally UWP apps will not have access to that file location. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello All , I would like show the image from the File path example from c:/foldername/x.png. When I have given file path, we are getting cross mark but its not loading the image, any one has any idea?
Code which I was working
<Image
source={require('C:/Users/username/Pictures/66.png')}
Beta Was this translation helpful? Give feedback.
All reactions