Why can't I insert an image from my internal storage ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Why can't I insert an image from my internal storage ?

Not sure if I'm missing something with my image location

7th Nov 2019, 12:58 PM
Daryan Oliver
Daryan Oliver - avatar
3 Answers
+ 2
Please avoid at best writing code into the Relevant Tags section of your question. Tags are used by search feature to find matches by tag comparison. The presence of irrelevant words in tags will ruin search functionality. I suggest you to make a directory, copy your HTML files there and also the images. You can put the images in a subdirectory if you wish. Then you can use relative path to assign the `src` attribute of the <img> element. About relative path, you can learn from this: https://www.w3schools.com/html/html_filepaths.asp For future reference, please follow this guide for posting a question 👍 https://www.sololearn.com/Discuss/333866/?ref=app
7th Nov 2019, 1:27 PM
Ipang
+ 1
🙂much appreciated
7th Nov 2019, 3:34 PM
Daryan Oliver
Daryan Oliver - avatar
+ 1
Just store the image in the same location as the html
9th Nov 2019, 10:31 AM
Logomonic Learning
Logomonic Learning - avatar