+ 4
importing images
how to get a link of an img from my gallery?
12 Réponses
+ 24
<img src="file:///sdcard/img.jpg">
+ 22
remove "/sdcard0/"
+ 13
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<img src="file:///sdcard/sdcard0/sign.png" height=300 width=300 alt="Wrong Path">
</body>
</html>
what's wrong with that?
+ 12
Valentine, it's not working on my phone
+ 9
I don't know that before you it is possible.
+ 8
open the photo and click"details" and you will write the path you will find.
+ 8
OK I'll try it now
+ 8
no it's not working 👈😑
+ 8
@Anderson Borges would you see my program, please where I'm doing wrong?
+ 7
Sololearn may not have the right permission to access these certain files. If the file was located in the apps directory, then it could've been a possibility - I assume this if you haven't tired what Shehab Soliman stated, because you would need the file path or location of it.
+ 4
simply go for image properties
and Copy Full Path
^_^
+ 2
remove "file" and use only one and add ur img in the some directory. an example: <img src="/storage/emulated/0/HTML/MyPic.png">