+ 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 exactly..how can I convert my files to .jpg files...??
10 Antworten
+ 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="" />
+ 22
S rasheed but. The familiar language for all countries is English so have to be with English 😊
+ 16
rasheed no problem
I got an answer
Thank you! 😊
+ 11
dropbox
+ 10
Upload your image to a website (like dropbox) and put the url into the <img> tag
+ 4
dropbox
+ 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.
0
Humangod After doing this,is the image visible to everyone?
0
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 .....in chrome