How do you refernce any image from online,i have tried some do work and othrs do not work | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 14

How do you refernce any image from online,i have tried some do work and othrs do not work

Html

13th Jun 2019, 2:03 PM
Innocent
Innocent - avatar
9 Answers
+ 9
So i think the best way is to open in a new tab and copy the link
15th Jun 2019, 9:38 PM
Innocent
Innocent - avatar
+ 20
You can try doing this: Download the image, then go to image details and then copy paste the link shown there as url in the code... It worked for me🙂
14th Jun 2019, 9:04 AM
Humayra🇧🇩
Humayra🇧🇩 - avatar
+ 12
Easier way found: right click on the image, select the "copy image location" and then paste it on your code
1st Jul 2019, 2:07 PM
Humayra🇧🇩
Humayra🇧🇩 - avatar
+ 9
Thanks guys ur answers were of help ,bt pathetic_millenial ,when i used href it didnt display ,but the one with open in a new tab worked well thanks guys for ur answers all were of help thanks again
15th Jun 2019, 9:33 PM
Innocent
Innocent - avatar
+ 7
Thanks let me try
15th Jun 2019, 5:14 AM
Innocent
Innocent - avatar
+ 5
Make sure in your src add the https://then your site name This help tell the src that it an http request and it should look online
14th Jun 2019, 10:55 PM
GeneralZod
GeneralZod - avatar
+ 4
Have you tried this? <img src=„http://website_where_you_can_find_your_image” alt=„” /> or this? <img src=„https://website_where_you_can_find_your_image” alt=„” />
13th Jun 2019, 6:29 PM
zireael7
zireael7 - avatar
+ 3
Proper syntax: <img href="http://your site blah blah.com"> make sure to include the http:// and use href NOT src
15th Jun 2019, 5:45 AM
haydenki
haydenki - avatar
+ 2
Right click on the image address and Click save image address and then you can paste it with in you <img src="paste the copied here" alt"" >
15th Jun 2019, 1:21 PM
Nithya Yamasinghe
Nithya Yamasinghe - avatar