How to add images(of mobile gallery) in html?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 43

How to add images(of mobile gallery) in html??

We can insert images in HTML.but can we insert the pics which r taken in mobile..I searched about it but I don't know what can I convert my files to .jpg files...??

18th Nov 2018, 10:33 AM
Jasmine Shaik
Jasmine Shaik - avatar
10 Answers
+ 25
I downloaded an app from playstore Es file Explorer; it helps to copy roots and full path of pictures. 1.Open you es file and Copy the image path from the es file Explorer from the properties 2. Open your playground and paste the path of the image(from gallery). 3. Your code will look like this Eg.<img src="/storage/emulated/0/DCIM/Camera/20181006_233147.jpg" /> 4. You type "file:" in front of copied path. <img src="file:/storage/emulated/0/DCIM/Camera/20181006_233147.jpg " alt="" />
29th Nov 2018, 4:37 PM
Akubia Godwin Maxwell
Akubia Godwin Maxwell - avatar
+ 22
S rasheed but. The familiar language for all countries is English so have to be with English 😊
19th Nov 2018, 1:25 AM
Jasmine Shaik
Jasmine Shaik - avatar
+ 16
rasheed no problem I got an answer Thank you! 😊
19th Jun 2019, 3:32 AM
Jasmine Shaik
Jasmine Shaik - avatar
+ 11
18th Nov 2018, 11:47 AM
Alex - avatar
+ 10
Upload your image to a website (like dropbox) and put the url into the <img> tag
18th Nov 2018, 12:03 PM
Dávid Vizler
19th Nov 2018, 1:14 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 4
18th Nov 2018, 4:52 PM
+ 4
Use the HTML <img> element to define an image. Use the HTML src attribute to define the URL of the image. Use the HTML alt attribute to define an alternate text for an image, if it cannot be displayed. Use the HTML width and height attributes to define the size of the image.
23rd Nov 2018, 5:24 PM
Saliha shahid
Saliha shahid - avatar
Humangod After doing this,is the image visible to everyone?
2nd Jun 2020, 6:06 PM
SRUSHTI BUCH 🇮🇳🇮🇳🇮🇳 - avatar
But I wasn't able to see the image while I tried the way u got here path like that form Mobil it wasn't showing the pic chrome
9th May 2023, 1:35 PM
Ch Sai Mohan Rao
Ch Sai Mohan Rao - avatar