+ 1

How to add image from gallery using html

2nd Aug 2022, 10:55 AM
Aswanidev Vs
2 Réponses
+ 1
Goto https://nihalanangoor.github.io/image-to-dataurl/ Upload your image.... You'll get a dataURL.you can use that url instead of image link. OR Goto https://imgbb.com/ Upload your Image ... You'll get a link which can be used!
2nd Aug 2022, 12:00 PM
Mohammed Nihal
Mohammed Nihal - avatar
+ 1
If you are coding from a pc, then try this line of code ... But first, let your html document be in a folder. In the same folder, create another folder containing the images you need for the website, you can rename tne folder as images Now, here is the code... <img src="images/image1.jpg"> Now, src is the source of the image, you have to navigate to where the image is. You might need some css to resize the image to your liking. There is no closing tag for <img>
2nd Aug 2022, 3:38 PM
Brian Muchai
Brian Muchai - avatar