- 1
Img
Can anybody help me ? I am unable to attach image file from my device. This is the code I am using in body <img src="forhtml/ganstas.jpg"> Html is folder name and Gangstas.jpg is name of image.
6 Respostas
+ 3
In Sololearn code playground, you can't import image from local storage.
Eg:
<img src="forhtml/ganstas.jpg">
But you can add image from cloud
Eg:
<img src="https://www.w3schools.com/images/w3schools_green.jpg">
+ 1
Are you trying to attach the image from your device to a code on sololearn playground? It won't work, as sololearn playground does not have access to your local storage.
+ 1
If the image is in local storage it wont work on sololearn unless you are getting the image from the internet then you can use the image‘s URL.
0
Thank you all for response
0
😒😒😒
0
Images
https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Images_in_HTML
audio:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio
video:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
How To Upload your phone images on SoloLearn using phone
https://code.sololearn.com/WT3661NHpV3B/?ref=app
Upload content with Dropbox [Tutorial]
https://code.sololearn.com/WW6t4B73kJVz/?ref=app
How to host/upload an image (IMGBB way)
/by Farhanaz/
https://code.sololearn.com/Wy3lrXNwGsgJ/?ref=app
Upload content with Google drive
https://code.sololearn.com/Wa25A17a19a1/?ref=app