What is wrong in this code. Iam not getting the right result for this code...plz reply me . I am a new member here... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is wrong in this code. Iam not getting the right result for this code...plz reply me . I am a new member here...

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

29th Oct 2018, 7:30 AM
Roshan Diwan
Roshan Diwan - avatar
9 Answers
+ 2
the path of the image​ is not correct.... try downloading an image from chrome browser and open the image in your browser itself..You will find image url at the top eg:- file:///storage/emulated/0/Download/download.jpeg paste it in your code and you will get an image in output
29th Oct 2018, 7:41 AM
Suraj Jha
Suraj Jha - avatar
+ 3
You can link any image from the web.
29th Oct 2018, 3:34 PM
Ajax
Ajax - avatar
+ 2
I don't know the reason for that restriction but i found a link for using dropbox files in your code. https://www.sololearn.com/Discuss/1054246/?ref=app
29th Oct 2018, 10:14 AM
Ajax
Ajax - avatar
+ 1
it is because image is not available
29th Oct 2018, 7:35 AM
Adarsh.n. Bidari
Adarsh.n. Bidari - avatar
0
You can't use local files on SL playground you need to upload the file to gdrive or dropbox i think.
29th Oct 2018, 7:36 AM
Ajax
Ajax - avatar
0
why Iam not able to use the images in my phone's sd card ? is it really necessary to upload the image to google drive...?
29th Oct 2018, 10:09 AM
Roshan Diwan
Roshan Diwan - avatar
0
thank you & I'll try it..
29th Oct 2018, 10:46 AM
Roshan Diwan
Roshan Diwan - avatar
0
sololearn block the server for image and video because it should take too much space. And to use your personnal image, you need to upload on a server like Dropbox.
29th Oct 2018, 3:20 PM
Anthony Van Den Ostende
0
is there any other options other than Dropbox's images...or is there any pictures library in sololearn which I can use for practicing coding.....
29th Oct 2018, 3:33 PM
Roshan Diwan
Roshan Diwan - avatar