How can i put an image from my pc on a html code, so people can view it | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can i put an image from my pc on a html code, so people can view it

Html advice

11th Sep 2017, 7:40 AM
Danie
Danie - avatar
5 Answers
+ 12
If you want to insert an image that is in your local storage you have to write the exact file path of that specific image. Such as... <img src="file:///sdcard/Download/image.jpg"> and unless everyone has the same file, linking using file:/// means only you will see them. otherwise you may use image hosting sites, just post a image to http://m.imgur.com or https://postimages.org or https://imgbb.com and get a unique link for your image. then copy and paste the image URL.
11th Sep 2017, 7:53 AM
Ranjan Bagri
Ranjan Bagri - avatar
+ 10
<img src="C:\Users\aldiaz\Desktop\DynamicsTest1.jpg" style="height:200px;width:100px;float:left">
11th Sep 2017, 7:47 AM
GAWEN STEASY
GAWEN STEASY - avatar
+ 1
Thank you will try, thanks for the feedback
11th Sep 2017, 8:18 AM
Danie
Danie - avatar
+ 1
<img src="the link that google gives"/>
28th Sep 2017, 9:32 AM
Danie
Danie - avatar
0
Will try thanks
11th Sep 2017, 7:49 AM
Danie
Danie - avatar