0

Why am I getting a broken image;

I have my picture file in my folder with the .html Am I inserting the Img attribute wrong? Are either of these correct, I’m getting broken img with both. <img src=“Kids.jpg” alt =“”/> Or <img src=“URL to uploaded picture” alt=“”/>

2nd Nov 2018, 7:00 PM
Brandon
Brandon - avatar
3 Antworten
+ 2
It might not be a properly-formed image file, i.e., the internal data is text and not binary, etc. This can happen when you "Save As..." something you think is an image but a server sends something else. If you're expecting to reference an image using the app here, you either need to: ~ provide the full path to the file on your mobile (in which case only you* will be able to see it) ~ put your file on a public image server so that people without your mobile device can also load the link * Technically, any mobile having a file named "Kids.jpg" in exactly the same place could load *a* file--but probably not yours--so just ignore this if it's confusing.
2nd Nov 2018, 7:31 PM
Kirk Schafer
Kirk Schafer - avatar
+ 1
Everything looks fine but double check if the file name is spelled the correct way. Example: Kid.jpg, kids.jpg, Kids,png, etc. <img src="http://www.catster.com/wp-content/uploads/2017/08/A-fluffy-cat-looking-funny-surprised-or-concerned.jpg" alt="Cat face" >
2nd Nov 2018, 7:15 PM
Mike
0
Okay thanks for the info and I use my iPad for the SoloLearn app but am using notepad on my pc to type and process everything so the pictures are on my pc.
2nd Nov 2018, 7:42 PM
Brandon
Brandon - avatar