Is there any problem in solo learn app(android) while displaying images ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is there any problem in solo learn app(android) while displaying images ?

I tried using images from gallery as well as google, when i used an image as a background bt using<body background="#"> its not working.

26th Sep 2021, 4:02 AM
Lo0pZz
12 Answers
+ 4
Rik Wittkopp linking images and sound from the sl app never works with google, I guess there is no way to handle the consent to cookies and the data google harvests from you?
26th Sep 2021, 7:26 AM
bell
bell - avatar
+ 3
Hi. Pls show us the code.
26th Sep 2021, 4:17 AM
Anurag Saikia
+ 2
Lo0pZz I don't know for sure, but I would guess it had something to do with server protection / permissions. If you download an image from the internet, then a permission has been granted. But leaving info / images open to everybody to access directly through codes would leave them vulnerable to abuse. This would be a great question for Q&A, which might get a more informed answer than I could give. bell Would you be able to answer this question?
26th Sep 2021, 5:58 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 1
yeah maybe Rik Wittkopp
26th Sep 2021, 6:04 AM
Lo0pZz
+ 1
Lo0pZz In your link to dropbox change dl=0 to raw=1
26th Sep 2021, 6:38 AM
Rik Wittkopp
Rik Wittkopp - avatar
0
Lo0pZz You can't load directly from the gallery of your phone, but need to upload your photo to something like dropbox. Then you create a link to that dropbox location in your code. Please find attached a copy of a code that I find very useful. Created by Mickel https://code.sololearn.com/WG8Eql4ZZmbU/?ref=app
26th Sep 2021, 4:19 AM
Rik Wittkopp
Rik Wittkopp - avatar
0
hey Time to code , i have also tried that but it doesnt work idk why.
26th Sep 2021, 5:45 AM
Lo0pZz
0
Hey Rik wittkopp, why doesn't it work when i put images from google ?
26th Sep 2021, 5:49 AM
Lo0pZz
0
Rik Wittkopp Ânurag $aikia Time To Code can you check my code (project 3) <body> tag and tell me what's wrong. I tried Dropbox btw. It's not working. Definitely something wrong with my code.
26th Sep 2021, 6:27 AM
Lo0pZz
0
Rik Wittkopp i tried, its not working. Did it work for you?
26th Sep 2021, 6:41 AM
Lo0pZz
0
Lo0pZz Yep. Give it some time to load as it seems to be a big file https://code.sololearn.com/WG0MarGL7bQ0/?ref=app
26th Sep 2021, 7:25 AM
Rik Wittkopp
Rik Wittkopp - avatar
0
bell yeah i think the same.
26th Sep 2021, 8:01 AM
Lo0pZz