+ 1

Hey SL i encounter this problem... why do all the images links fail to open the the image on the playground... help me out plz!!

image fail! https://code.sololearn.com/WP2cN1ujPvve/?ref=app

7th Nov 2017, 6:46 PM
Murrah
Murrah - avatar
11 Answers
+ 2
The best way to check if your link to an image is correct is to see if it ends with the format of the image, e.g .jpg or .png Also test your links in a browser to make sure.
7th Nov 2017, 6:59 PM
Ghauth Christians
Ghauth Christians - avatar
+ 14
example example example can't give you a hand if you don't help us to help you
7th Nov 2017, 6:48 PM
Burey
Burey - avatar
+ 4
Post your code here, I'll have a look, you might be doing something wrong.
7th Nov 2017, 6:47 PM
Ghauth Christians
Ghauth Christians - avatar
+ 4
thats simple and clear explanation... thanks men! @Galvin christians
7th Nov 2017, 7:01 PM
Murrah
Murrah - avatar
+ 4
thanks bro.. once again!
7th Nov 2017, 7:07 PM
Murrah
Murrah - avatar
+ 3
Your link was incorrect, try this link... https://code.sololearn.com/WTsNEp7Xdi36/?ref=app
7th Nov 2017, 6:56 PM
Ghauth Christians
Ghauth Christians - avatar
+ 3
thanks bro but.. i didnt edit the link!
7th Nov 2017, 7:00 PM
Murrah
Murrah - avatar
+ 3
Your link wasn't to the image but to a page. Some websites do this to protect their images. Try opening up a free web server for yourself and store all your images there. Visit https://www.000webhost.com and create one there. Then just upload all your images there so that you don't need to rely on other websites.
7th Nov 2017, 7:05 PM
Ghauth Christians
Ghauth Christians - avatar
+ 3
Img link must be a image file link, the link should have end with image file extension eg. jpg, png, gif.. https://code.sololearn.com/WBhEXcv84qo5/?ref=app
8th Nov 2017, 6:07 AM
CalviŐ˛
CalviŐ˛ - avatar
+ 3
thanks bro @calvin
8th Nov 2017, 6:09 AM
Murrah
Murrah - avatar
+ 2
ok bros..done!!
7th Nov 2017, 6:49 PM
Murrah
Murrah - avatar