0

How to fix broken images

Pls have been trying to post a image on my program from my directory but its showing a broken image and have tried every possible solution I know but it's showing same thing. Can anybody help me with it? thanks https://code.sololearn.com/W1T2GAUKKlhH/?ref=app

12th Apr 2018, 4:20 PM
oyebode David
oyebode David - avatar
1 Resposta
+ 3
The reason that you're image isn't working is because you seem to be trying to access it via your own phone files, which will not work. The src attribute of the <img> tag takes the URL to an image from the internet and displays what it is given. Try finding your image online and find the URL that directly links to it, and copying what you see in the search bar into the src attribute of your image.
12th Apr 2018, 4:38 PM
Faisal
Faisal - avatar