Why doesn't the picture showing broken. Can you help with this pls? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why doesn't the picture showing broken. Can you help with this pls?

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

27th May 2023, 1:18 PM
Noorul Aamina
Noorul Aamina - avatar
12 Answers
+ 5
Its not working because your link is not correct you copied it from sharing place but first click long on the image you want the touch the icon "open in ignoti tab" after it open go to search bar and copy the url then paste it on your code like this: <img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTY8iaH2tFlVV0QUOF7sink3HCy6zXMpzHfYg&usqp=CAU">
28th May 2023, 11:21 AM
ᎧᎮ ᭄𝓗𝓪𝓬𝓴𝓮𝓻꧂
ᎧᎮ ᭄𝓗𝓪𝓬𝓴𝓮𝓻꧂ - avatar
+ 5
It doesn't work because you copied the URL of the google search result page. (You can notice it because google.com is inside the url.) Try to get the direct link of the image (which is typically a jpg, png or gif file). For me the easy way is long tap on the thumbnail image in the google result page, and open it in a new tab. May be different if you have another web browser or different device. Correct link: <img src="https://e0.pxfuel.com/wallpapers/94/445/desktop-wallpaper-paradise-garden-sunshine-rays-sunlight-glow-gazebo-garden-paradise-beautiful-grass-park-summer-wildflowers-pretty-lovely-thumbnail.jpg">
27th May 2023, 1:35 PM
Tibor Santa
Tibor Santa - avatar
+ 5
And you can take the help how to add the image in sololearn https://code.sololearn.com/Wy3lrXNwGsgJ/?ref=app
27th May 2023, 3:11 PM
Sakshi
Sakshi - avatar
+ 3
https://e0.pxfuel.com/wallpapers/94/445/desktop-wallpaper-paradise-garden-sunshine-rays-sunlight-glow-gazebo-garden-paradise-beautiful-grass-park-summer-wildflowers-pretty-lovely-thumbnail.jpg use this link
27th May 2023, 1:30 PM
I am offline
I am offline - avatar
+ 2
You copied the Google Query link, rather than the image link. Right click, if you are in a PC or laptop, or long press the image, if you are using a phone or tablet. Click on "Copy image address" and paste inside the src attribute. Hope this helps.
27th May 2023, 4:52 PM
Danish Zubair
Danish Zubair - avatar
+ 1
Thankyou for all your kind replies.It has worked. Once again thanx<3 Corrected code: https://code.sololearn.com/Wt7ukqWmL5fv/?ref=app
28th May 2023, 1:29 AM
Noorul Aamina
Noorul Aamina - avatar
+ 1
Noorun Ala Noor ok, that is why, you have seen preview, rather than copy image address.
28th May 2023, 2:03 PM
Danish Zubair
Danish Zubair - avatar
0
Hello Danish Zubair Clicking image copy address didn't work for me. Rather I clicked preview and copied the address of it Thankyou for helping<3
28th May 2023, 1:31 AM
Noorul Aamina
Noorul Aamina - avatar
0
Noorun Ala Noor which browser and device were you using?
28th May 2023, 8:58 AM
Danish Zubair
Danish Zubair - avatar
0
Danish Zubair Google Chrome Samsung M11 bro
28th May 2023, 12:36 PM
Noorul Aamina
Noorul Aamina - avatar
0
image is encrypted
29th May 2023, 2:01 AM
Badal Shankhdhar
Badal Shankhdhar - avatar
0
Badal Shankhadhar means..?
29th May 2023, 8:29 AM
Noorul Aamina
Noorul Aamina - avatar