+ 2
There's no import trick. You have to know where your image is. It's better to have all of your project's files in one folder. Then you may create a new folder inside that folder for image files. To include an image in an html file: <img src="images/img.jpg" />
10th Jun 2016, 3:36 PM
ZinC
ZinC - avatar
+ 1
just give the path of image but better is to keep all resources in same project folder
13th Nov 2016, 7:11 AM
Shekhar Bahuguna
Shekhar Bahuguna - avatar
0
To insert img from outside the folder <img src="folder 1/folder 2/ folder 3/image.png"/>
10th Jun 2016, 6:22 PM
UMAR MUHAMMAD ALIYU
UMAR MUHAMMAD ALIYU - avatar
0
if you need to go back from your initial folder it would be <img src="../(outsidefoldernamehere)/img_1.jpg" /> if your img is in another folder from your outside it would be outside folder then the image folder then image Many text editors will help auto populate this for you and have a pop up to assist in selecting the proper directory location
11th Jun 2016, 6:03 AM
Matt
0
in pc, u will need to specify the full path <img src="file:///c:/user/desktop/some/image/image.jpg"/> The image outside the file.HTML means external resource and so u need full address. If you are doing it from your website, then you can import directly using <IMG SRC"="/some/image/IMG.jpg"> . or you can use you full address <IMG SRC="http://www.yoursite.com/some/image/IMG jpg">
16th Nov 2016, 10:10 AM
Core i9
Core i9 - avatar
0
you will need to copy the image file's location path and paste it as the source. like src="c:/desktop/storagefolder/image.jpg"
27th Nov 2016, 8:04 AM
Orfeo Terkuci
Orfeo Terkuci - avatar
0
<img src="some/image/img.jpg" />
1st Dec 2016, 8:54 AM
Debalina Mukherjee
Debalina Mukherjee - avatar
0
jiib
4th Dec 2016, 5:24 PM
maheep singh
0
../
7th Dec 2016, 11:06 AM
Yadagalla Jaswanth Kumar
Yadagalla Jaswanth Kumar - avatar