0
[Duplicate] Can anyone plz tell me how to add our phone images into html code
Is this procedure correct <img src="Storage/Pictures/Albums/i/i.png" alt="saddy" /> i
6 Respostas
+ 5
You can use 'file:///path' but this will only allow people that have the specific image in the same path as you in their devices to see it, else you need to host it.
+ 3
You can add an image from your device internal storage into your html document without uploading it on a cloud platform but only you would be able to see that image .
Here's what you have to do ,
Since you are using a phone open your file manager select the image you want to add, now open up it's details now copy down it's storage url. Paste that storage url into your html document inside the image tag .
Do it like this,
<img src="file://image url">
and it's done.
Or directly upload it on dropbox
+ 1
Thank u guys.
0
I tried as mentioned below but not working
<img src="file:/Phone Storage/Pictures/Albums/i/i.png" alt="saddy" />