How can use the photos in my gallery while programming with HTML | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How can use the photos in my gallery while programming with HTML

6th May 2020, 7:27 PM
Denis Mwangi
Denis Mwangi - avatar
13 Answers
+ 5
_esky Flake_ to post your project you need to buy server to host your project, you can search for free hosting . you can add eny img extension if browser support it here is the most used .png, .jpg, .svg
6th May 2020, 7:45 PM
CoffeeByte
CoffeeByte - avatar
+ 4
use src attribute <img src="myImageFolder/image-1.png">
6th May 2020, 7:31 PM
CoffeeByte
CoffeeByte - avatar
+ 2
Am still a learner,how to go about it
6th May 2020, 7:48 PM
Denis Mwangi
Denis Mwangi - avatar
+ 2
Got to the properties of images you want to use Copy the complete path of that image now inside src =" paste that copied path of image here " and don't get wrong name and extension of image
8th May 2020, 5:27 AM
Aanchal
Aanchal - avatar
+ 2
Add source(src) attribute and copy and pase the path of image. For Eg. < img src ="C:\Users\Sweet Family\Pictures\Waterfall.jpg"/>
9th May 2020, 11:06 AM
SOORYARAJ KAMARAJ DEVENDRA
+ 1
Which is the best program editor when using html,js,css
20th Jun 2020, 8:15 PM
Denis Mwangi
Denis Mwangi - avatar
0
Wat about extension.jpg
6th May 2020, 7:32 PM
Denis Mwangi
Denis Mwangi - avatar
0
You need to upload them on some cloud storage such a Dropbox then copy paste the link Also search for similar questions,there are hundreds of ppl asking about this thing ,you will get to know other ways to do it as well as how to do it
6th May 2020, 7:34 PM
Abhay
Abhay - avatar
0
And how can i post my project on internet
6th May 2020, 7:41 PM
Denis Mwangi
Denis Mwangi - avatar
0
_esky Flake_ well, it will be a pleasure to help if you need my help
6th May 2020, 7:51 PM
CoffeeByte
CoffeeByte - avatar
0
Of course yes
6th May 2020, 7:53 PM
Denis Mwangi
Denis Mwangi - avatar
0
if you’re not going to host the site then you can simply give a path of the folder use ‘./‘ to locate the folder easily and if you plan to host the site store it on cloud and you can use whenever and wherever you want. Hope this help
7th May 2020, 5:40 AM
Avinash
Avinash - avatar
0
Denis Mwangi for vscode
19th Jul 2020, 4:55 PM
Avinash
Avinash - avatar