RHH
Coder
I've done something to my code or to my environment that caused an image to stop working.
I've searched online and read several articles and tried the usual suggestions for verifying names, paths, etc. and clearing cache.
I've done all of that but cannot find my problem. I think I have a mental set that is blocking me seeing something that is probably obvious to others.
Instead of bumbling around in my main code, I created a new html file stripped down to a heading and an image tag complete with src width height and alternate text.
When my browser reads the index file it displays the heading and an area of the size coded with a border and an icon in the upper left of that area.
The image file is a .png file in the same folder as the index file. I also tried making an image folder and using 'image/' preceding the file name; neither worked.
Here's the code straight from Sublime Text: (apologies for not following the guidelines of using bbcode but I don't know how to do that).
<DOCTYPE! html>
<head>
<title>testing</title>
</head>
<body>
<p>I can see this</p>
<img src="The_Clan_in_Color_cropped.png" alt="image missing" width="600" height="400">
</body>
Please rub my nose in what I can't see and tell me how to use the bbcode protocol. I'm thinking it's a syntax issue but I can't find it.
Thank you.
rhh
I've searched online and read several articles and tried the usual suggestions for verifying names, paths, etc. and clearing cache.
I've done all of that but cannot find my problem. I think I have a mental set that is blocking me seeing something that is probably obvious to others.
Instead of bumbling around in my main code, I created a new html file stripped down to a heading and an image tag complete with src width height and alternate text.
When my browser reads the index file it displays the heading and an area of the size coded with a border and an icon in the upper left of that area.
The image file is a .png file in the same folder as the index file. I also tried making an image folder and using 'image/' preceding the file name; neither worked.
Here's the code straight from Sublime Text: (apologies for not following the guidelines of using bbcode but I don't know how to do that).
<DOCTYPE! html>
<head>
<title>testing</title>
</head>
<body>
<p>I can see this</p>
<img src="The_Clan_in_Color_cropped.png" alt="image missing" width="600" height="400">
</body>
Please rub my nose in what I can't see and tell me how to use the bbcode protocol. I'm thinking it's a syntax issue but I can't find it.
Thank you.
rhh