Images | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Images

I have image in my phone .. how can i gets its url to add it to my html page ???

13th Oct 2021, 8:51 AM
Musaib
Musaib - avatar
16 Answers
+ 9
First upload the image to Dropbox, then copy the Link and paste into your code.
13th Oct 2021, 9:10 AM
Cyber Nate
Cyber Nate - avatar
+ 7
Ok please create a folder for your code. Inside that folder >> Create another Folder and Name it images. Copy the picture you want to use into that images folder. Then in your code >> use <Img src="images/the name of your picture in the images folder"> </Img>
13th Oct 2021, 9:24 AM
Cyber Nate
Cyber Nate - avatar
+ 6
You can make folder with your project, than add all html, css.. code inside, and images. Than to work with it easier you need some editor from playstore. Solo Learn doesn't support local files, thay use its server to store our code. I tried to code like than on phone and it was really hard. If you can use your pc. To add images on SoloLearn use some image hosting online as Dropbox, or some for only images...
13th Oct 2021, 10:02 AM
PanicS
PanicS - avatar
+ 4
Learn To Host Unlimited Files Using Github! See The Instructions From This Code: https://code.sololearn.com/Wb9oM70DawcM/?ref=app
13th Oct 2021, 10:44 AM
Sancho Godinho
Sancho Godinho - avatar
+ 2
Is there any other way
13th Oct 2021, 9:17 AM
Musaib
Musaib - avatar
+ 2
You can also use the pictures address if you uploaded it to dropbox or imgur or somewhere
14th Oct 2021, 3:12 PM
Gutz_X_73vEn
Gutz_X_73vEn - avatar
+ 2
Musaib You could create a new folder for all your coding projects in the files storage system and keep the image in that folder. After that link your picture to the code using the img tag(ie) <img src= "(name of picture)" > </img> This will only work if the code and picture is in the same folder
14th Oct 2021, 8:10 PM
Gideon Essah
+ 2
Use Image Hosting services like imgbb to upload you images without creating account
15th Oct 2021, 6:12 AM
Unverified Account
+ 2
This is the easiest way. Create you must have an Tumblr account if not plz create. Go to your profile setup it as private so no-one can view your images. Upload an image you want. Now click on three dots on right top. Click get link. Paste link in your project. See this is the thing I do. And it's free. In Dropbox and google 1 you have limited free storage you have to pay if you want more. But it's absolutely free. Unlimited storage. Not just pics you can upload docs and music files also
15th Oct 2021, 7:46 AM
Kunal Anand
+ 1
There's an alternative if you have a system. Do you have a PC?
13th Oct 2021, 9:19 AM
Cyber Nate
Cyber Nate - avatar
+ 1
I use phone for this
14th Oct 2021, 3:17 AM
Musaib
Musaib - avatar
0
Yes
13th Oct 2021, 9:20 AM
Musaib
Musaib - avatar
0
Are you doing it from the phone or on the computer?
14th Oct 2021, 2:25 AM
Gustavo Adolfo Castañeda Rosales
Gustavo Adolfo Castañeda Rosales - avatar
0
Save the image in the html file location and then in your html link it via src and write its path.
14th Oct 2021, 12:05 PM
Shivam Sahu
Shivam Sahu - avatar
0
the reason why you can not on the phone is because this application SoloLearn has not been able to access the file manager of your phone, if it had access you would only look for the location and the name of the file, I hope it helps you with this information
14th Oct 2021, 6:56 PM
Gustavo Adolfo Castañeda Rosales
Gustavo Adolfo Castañeda Rosales - avatar
0
Google “ absolute path for images html”
15th Oct 2021, 1:19 AM
Gutz_X_73vEn
Gutz_X_73vEn - avatar