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!
New course! Every coder should learn Generative AI!
Try a free lesson
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.

7th Aug 2022, 10:12 AM
Karalla
17 Answers
+ 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
7th Aug 2022, 10:16 AM
Lisa
Lisa - avatar
+ 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.
7th Aug 2022, 10:46 AM
Lisa
Lisa - avatar
+ 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.
7th Aug 2022, 12:26 PM
Lisa
Lisa - avatar
+ 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
7th Aug 2022, 10:41 AM
Karalla
+ 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.
7th Aug 2022, 12:01 PM
Lisa
Lisa - avatar
+ 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
7th Aug 2022, 12:22 PM
Lisa
Lisa - avatar
+ 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.
8th Aug 2022, 12:05 PM
DAVE CONCO
DAVE CONCO - avatar
0
Ok this is the code i wrote. Thanks for reply and any further information is appreciated.
7th Aug 2022, 10:44 AM
Karalla
0
Ok. here I linked it, thanks Still looking for answer and solution. Thanks
7th Aug 2022, 11:45 AM
Karalla
0
Lisa sololearn has access to my local photos as I can upload photos as post
7th Aug 2022, 12:11 PM
Harsha S
Harsha S - avatar
0
Lisa I haven't tried but could we use the post link in html tag
7th Aug 2022, 12:23 PM
Harsha S
Harsha S - avatar
0
Ok, thanks a lot for the replies
7th Aug 2022, 5:04 PM
Karalla
0
You can. Set the src value to the storage path of the image
8th Aug 2022, 9:07 AM
Jherry Okeke
Jherry Okeke - avatar
0
you can just upload the image first on platforms like imgbb.com. you can then get the code or picture link from there
8th Aug 2022, 3:07 PM
Quadri Lasisi
Quadri Lasisi - avatar
0
Ok, thanks to all for your reply, it really helped
8th Aug 2022, 5:34 PM
Karalla
0
I same problem
9th Aug 2022, 9:56 AM
Mayur
Mayur - avatar