about the link of the image | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

about the link of the image

when i copied and pasted the link https://www.pexels.com/photo/wood-light-landscape-nature-247160/ iam unable to get the image of the tree .Can anyone explain?

2nd Jun 2020, 10:00 AM
Sadir Irfan
Sadir Irfan - avatar
3 Answers
+ 2
Whenever you copy a link of an image to use in your code, make sure that the URL ends with an image file extension like .jpg or .png. Otherwise, definitely the link wont show any image. Somebody else please correct me if I am wrong.
2nd Jun 2020, 10:35 AM
Vikram Singh Gurjar
Vikram Singh Gurjar - avatar
+ 10
Maybe this is a wrong link. here is the right link, this link will work on ur code try it👇 https://images.pexels.com/photos/247160/pexels-photo-247160.jpeg?cs=srgb&dl=wood-light-landscape-nature-247160.jpg&fm=jpg
2nd Jun 2020, 10:01 AM
ᘉᗩᗩᕼᖻ
ᘉᗩᗩᕼᖻ - avatar
+ 2
Thank you guys.. 😊
2nd Jun 2020, 12:00 PM
Sadir Irfan
Sadir Irfan - avatar