How can i import an image from my gallery or file manager to my HTML file... Pls help me with the complete code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How can i import an image from my gallery or file manager to my HTML file... Pls help me with the complete code

28th Oct 2021, 12:50 PM
Priyankshu Roy
4 Answers
+ 1
The easiest way to do this, is by using the absolute path of the image: <img src="path/to/picture.jpg">
28th Oct 2021, 1:51 PM
Sam ツ
0
<img src="Write path name"> Path-name should be right if not you can't get a preview
28th Oct 2021, 1:58 PM
Shashwat Alight
Shashwat Alight - avatar
0
For share the images to HTML5 codes, I used Dropbox service :), here is a example of my codes that I used it https://code.sololearn.com/Wxx3Kmy4rlXv/?ref=app
29th Oct 2021, 1:20 AM
Katdotbrush
Katdotbrush - avatar