Can we add an image from the phone storage like android, or it should be always inserted from web browsers? | Sololearn: Learn to code for FREE!

0

Can we add an image from the phone storage like android, or it should be always inserted from web browsers?

I'm on my first CV coding and I tried to add an image from both phone storage and a link of one image from Google browser with "png extension" but, the image never appears, it shaws a strange box with no image.

8/7/2022 10:12:18 AM

Karalla

17 Answers

New Answer

+7

sololearn does not have access to your local storage. If you need help, please link your code, so we can check what exactly you wrote there

+5

You can LINK your code like this: Go to Code section, click +, select the programming language, insert your code, save. Come back to this thread, click +, Insert Code, sort for My Code, select your code. If you copy the link into the browser, you will see that the image is not found.

+2

The post link is the link to the post, not to the image. You can try to find the image to the link, I wouldn't expect it to be readily accessible.

+1

!DOCTYPE html> <html> <head> <title>My CV</title> </head> <body> Karalla Jarjay <hr/> <p><strong>Builder</strong></p> <img src="https://cdn2.iconfinder.com/avatar-370-456322.png" height="50px" width="50px" alt="" /> <hr/> <p><i>profesional qualified builder with years of experience after skillfully worked in a micro leading company of its moment </i></p> </body> </html

+1

Please read the 3rd paragraph of my reply: If you copy the link into the browser, you will see that the image is not found. That means, there is no image accessible via this link.

+1

Harsha S Yes, because you give access to upload this image. The web code snippet does not access your local storage, it does not recognize your local file path and you would not want sololearn to have control over your storage

+1

You are going to look for free image hosting and you upload your image and then get the link of the post and you embed it to your HTML code then it works.

0

Ok this is the code i wrote. Thanks for reply and any further information is appreciated.

0

https://code.sololearn.com/WOhcBI1dMJeV/?ref=app

0

Ok. here I linked it, thanks Still looking for answer and solution. Thanks

0

Lisa sololearn has access to my local photos as I can upload photos as post

0

Lisa I haven't tried but could we use the post link in html tag

0

Ok, thanks a lot for the replies

0

You can. Set the src value to the storage path of the image

0

you can just upload the image first on platforms like imgbb.com. you can then get the code or picture link from there

0

Ok, thanks to all for your reply, it really helped

0

I same problem