+ 3
Pls help me out i want to upload image on my phone into html code how would i do it
Pls help me out i want to upload image on my phone into html code how would i do it
6 Réponses
+ 20
1. Upload photos to your dropbox.
2. Click on the photo you want.
3. Select share.
4. Select copy link.
5. The link will look something like this.
https://www.dropbox.com/s/u94pqpa0wfyz7l3/4-flower-wallpaper.preview.jpg?dl=0
6. Paste it into your img src like this.
https://dl.dropboxusercontent.com/s/u94pqpa0wfyz7l3/4-flower-wallpaper.preview.jpg?dl=0
I mean instead of "www.dropbox.com" use "dl.dropboxusercontent.com" and the image path.
😑
I hope it helps.
+ 8
@Musa, Maryam has told you how you can upload online, so that you can use the link in your webpage. Your phone is not a web server (it is not online to serve your pages and links) so it is impossible to put the image path in your html page from your phone.
+ 5
Are you writing HTML codes with your phone?
The direct solution is to get the "memory address" of the image on your phone and use it as the value of the "src" attribute of <img />
Oftentimes, the memory address of your phone looks like this:
/storage/sdcard0/folder name/filename.extension
sdcard0 may also be sdcard1
I've done it countless times, as I often use my phone to code at convenience…
^^-^^
+ 4
https://imgur.com/upload/
Upload your images here when the site finishes uploading then just right click on the image and copy the image url then past it in the src="https://i.imgur.com/FyBj8nh.png" just like this.
+ 2
If you're writing HTML code on your phone then get the location path of your image in your phone. You'll find it while viewing your image from the file manager.
If you're writing HTML code from your computer and just want to see your image there then share your image from your phone to the file in your computer that contains your HTML.
If you're uploading your website or want your image to be fetched online then follow the instructions of @Maryam
+ 1
i mean image on my storage