New course! Every coder should learn Generative AI!
Try a free lesson+ 2
Images
https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Images_in_HTML
How To Upload your phone images on SoloLearn using phone
https://code.sololearn.com/WT3661NHpV3B/?ref=app
Upload content with Dropbox [Tutorial]
https://code.sololearn.com/WW6t4B73kJVz/?ref=app
How to host/upload an image (IMGBB way)
/by Farhanaz/
https://code.sololearn.com/Wy3lrXNwGsgJ/?ref=app
Upload content with Google drive
https://code.sololearn.com/Wa25A17a19a1/?ref=app
+ 1
For SL Playground is easier to have the image on a server. This code will help you:
https://code.sololearn.com/WLpJTMTqV4Bl/?ref=app
+ 1
ԿՈEՄ Հոկտեմբեր No you can't upload images here if the images are in your phone. First install dropbox and upload the image there and copy the link and paste the link. For css use
Background-image : url()
Background-size: cover
Background-repeat: no repeat
Background-position: center
+ 1
.div{ background: url('image.png'), no repeat;}
+ 1
Thanks for your help but it didn't work
+ 1
ԿՈEՄ Հոկտեմբեր it will work. Do it and show me the code
0
what is wrong
0
ԿՈEՄ Հոկտեմբեր the link that you used is not of an image, rather a web page shown by google. If you want to get the link of the image file, then:
>> tap and hold on the image.
>> Either choose "open in new tab" or "preview image".
>> Copy the link from search bar and paste it in your code.
Maybe this is the link that you want to insert. 🙂
https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTAaDtzRPZOyuL4VlcIwlDU4FCQJzQA3P1oPw
0
https://code.sololearn.com/WkO3Smbhwi70/?ref=app
0
You have tried it, you can see it
0
Can you point out my mistake because I can't find it?
0
ԿՈEՄ Հոկտեմբեր now check the link there. In that link you need to write raw=1 instead of dl.
0
Finally, thank you. I bored you with my questions. Thank you again
- 1
https://code.sololearn.com/WkO3Smbhwi70/?ref=app