I copied an url of an image on Google and paste it on my html code but the image doesn't displayed, why? | SoloLearn: Learn to code for FREE!

+1

I copied an url of an image on Google and paste it on my html code but the image doesn't displayed, why?

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

7/6/2020 10:39:23 AM

Sumedh Patil

17 Answers

New Answer

+8

Sumedh Patil here's the link of image you want. I obtained by above mentioned method by using mobile👇 https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ2a3QmAvu-PLCCORTzUR2_WXI_yY-r3Kga9dGDjUs24ZYEPECra1h1cSCn&s=10 Replace the url and then see Note: some img url don't end with .jpg

+7

Your image url is incorrect Image url must be ending with .jpg or .png you have copied url of Google search query Sumedh Patil Long press (right click) on image on Google and select option of "Open Image In new tab" and then copy url

+4

Share your code for best results :) There might be a problem with your link and you might have copied the URL of the webpage. Just share your code by copying the code link from the code playground.

+4

This is not the real link to the location of the image It is the reference of google to access the image. To access the image open the website that is hosting the image , then open the image in the new tab. There u will is the real link to the image

+4

Its too easy bro actually can't load unless it is png or jpg file Use dropbox to create link definitely it will wrk👍👍👌

+3

Sumedh Patil I hope it will help you 🙂 https://code.sololearn.com/Wt75mK36Cs38/?ref=app

+2

It happened because of an error in you code. There is supposed to be the file extension of the image, with jpg, png or etc <body> <img src="image.jpg" alt=" "/> </body>

+2

best to save the picture and load it from server or local directory, but if u dont want to do that you probably should use free picture uploading websites and get a link with the right image extension like jpg or png

+1

Please share code first. So, that we can help you

+1

Check the files where u kept is same as the image is

0

😉 Krishna 🤘 after long pressing, only two options are displayed that are 'download image' & 'share image' and I copied url from the share option but it doesn't contain ".png or .jpg"

0

😉 Krishna 🤘 okay thanks for help🙏👍

0

It happened because of an error in you code. There is supposed to be the file extension of the image, with jpg, png or etc <body> <img src="image.jpg" alt=" "/> </body>

0

You Dont Give "/File Name" On Your Code, You Must Give File Name I HOPE THIS CAN HELP YOU

0

For the image to display ensure the Google url ends with jpeg or png as the case may be. Any other url that does not have a jpeg or png ending tells you d link is not an img link hence when you use it on your html code you get nothing. I hope this helps

-1

😉 Krishna 🤘 Actually im trying it on my phone..

-2

Why get html code hack or recovery facebook