Can any of you expain how you can display other images from other sources as background | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Can any of you expain how you can display other images from other sources as background

For example using link

14th Jun 2020, 7:55 AM
Madhan Akok
Madhan Akok - avatar
8 Answers
+ 2
Madhan Akok The link is not pointing to an image but to a web page then the browser cannot display it. Use this url https://i.pinimg.com/236x/86/c6/d5/86c6d50a82a6bcaa861b758a4aff0105.jpg but remember: make sure that service allow external links to images and you dont break the ToS of service
14th Jun 2020, 8:54 AM
KrOW
KrOW - avatar
+ 1
Ooh thank you i appreciate it....
14th Jun 2020, 8:59 AM
Madhan Akok
Madhan Akok - avatar
0
with css using background-image: url(urlhere);
14th Jun 2020, 8:35 AM
KrOW
KrOW - avatar
0
I tried thou
14th Jun 2020, 8:38 AM
Madhan Akok
Madhan Akok - avatar
0
If you post your sample we can help you better
14th Jun 2020, 8:40 AM
KrOW
KrOW - avatar
0
pokay something like this { padding: 30px; background-image: url("https://images.app.goo.gl/i2VX9wrwM3RY4P6i9");
14th Jun 2020, 8:44 AM
Madhan Akok
Madhan Akok - avatar
0
I used a link from a photo in chrome
14th Jun 2020, 8:44 AM
Madhan Akok
Madhan Akok - avatar
0
👍🏻
14th Jun 2020, 9:02 AM
KrOW
KrOW - avatar