+ 1
Can I use pictures from my cell phone?
I have learned about how to use images with <img src="example"> but I wsnt to know if I can use pictures from my cell phone here in my pages created in the app
10 Respostas
+ 6
file:///sdcard/image.jpg
+ 6
Simplify your image name and use "sdcard" instead of "storage/emulated/0" (not sure if "%" is allowed in html sizing…)
+ 5
Give us your code.
+ 3
Three slashes.
You can also start with file:///sdcard/ and browse from there (i.e., use your web browser to get the link)
+ 3
Works for me from CodePlayground. Try using a really simple image name like 1.jpg. Get that working, then debug longer ones.
+ 1
perfect! thank you very much! it worked! but the picture does not see in the page, only a little green picture broken :D
+ 1
<!DOCTYPE html>
<html>
<head>
<title>Pastel de Luna, Repostería Fina</title>
</head>
<body>
<h1>Pastel de Luna</h1>
<hr>
<h4>Repostería Fina</h4>
<br />
<br />
<p align="center"><b><i>Bienvenido a nuestra deliciosa página Web</i></b></p>
<br />
<img src="file:///storage/emulated/0/Download/2016-08-15%2020.30.43.jpg" height="50%" width="50%" alt="Pays in a basket" />
</body>
</html>
+ 1
ok, thank you very much for your help :D I will do it
0
<img src="file://sdcard/image/jpg" /> it does not work with me :(
0
Can you give me an example? please, I am going to keep trying :D thank you