Is there any problem in solo learn app(android) while displaying images ? | Sololearn: Learn to code for FREE!

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.

9/26/2021 4:02:48 AM

Lo0pZz

13 Answers

New Answer

+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?

+3

Hi. Pls show us the code.

+2

Lo0pZz for inline style u should try <body style="background:#; > </body>

+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?

+1

yeah maybe Rik Wittkopp

+1

Lo0pZz In your link to dropbox change dl=0 to raw=1

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

0

hey Time to code , i have also tried that but it doesnt work idk why.

0

Hey Rik wittkopp, why doesn't it work when i put images from google ?

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.

0

Rik Wittkopp i tried, its not working. Did it work for you?

0

Lo0pZz Yep. Give it some time to load as it seems to be a big file https://code.sololearn.com/WG0MarGL7bQ0/?ref=app

0

bell yeah i think the same.