404 Error - file not found - not making sense, 404 Error - file not found - not making sense |
404 Error - file not found - not making sense, 404 Error - file not found - not making sense |
Dale Francis |
Oct 16 2020, 07:19 PM
Post
#1
|
Group: Members Posts: 4 Joined: 16-October 20 Member No.: 27,597 |
Hi, this is actually Angular code but it's really just an HTML bug. So I wrote:
<img src="src/app/photos/Monaco-and-Spirit.jpeg" alt="Cats Pic"> or <img src="Monaco-and-Spirit.jpeg" alt="Cats Pic"> or <img src="http://localhost:4200/src/app/photos/Monaco-and-Spirit.jpeg" alt="Cats Pic"> or <img src="./photos/Monaco-and-Spirit.jpg" alt="Cats Pic"> I've posted this .jpg image all over the place and any one of the above 4 options should have worked. But still I receive the 404 "file not found" error and I can't figure it out or get past it. Any help? $70 is yours if you can put me straight. Thank you. Dale. |
pandy |
Oct 16 2020, 07:24 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
So is this on a server you run on your own machine (since you use localhost in one of the URLs)?
Where is the image in relation to the HTML document? Is this on Windows or Linux or something else? |
Lo-Fi Version | Time is now: 25th April 2024 - 01:29 AM |