<p>Good morning,</p>
<p>I have inherited a Craft CMS site from a previous developer, and am running into issues when looking to add images to the site.</p>
<p>Following instructions I grabbed the copy of the SQL database for local use, and am running MySQL and Apache via XAMPP</p>
<p>I added new images to the local file structure (assets/images/) but when I go to the template being used and add the standard <code>&lt;img src=&quot;./assets/images/name&quot;&gt;</code> I get an error in the console of 404 http://localhost:3000/assets/images/image.jpg could not be found.
I then tried adding it directly into the same folder with my template code (just to see if I can get it working) but this time I got a 500 server error.</p>
<p>I am completely at a loss now since I never worked with CMS before (am an internal React/Node developer). I hope I explained the issue clearly, would anyone be able to point me in the correct direction?</p>
<p>Many thanks.</p>

CC BY-SA 4.0
2020-07-15T08:51:13.273Z
So, you're not trying to fetch the images using Twig but manually entering the URLs? When you look at the page source and click on the URL of your image, does it exist in that location?
Clive Portman
CC BY-SA 4.0
2020-07-15T09:02:35.737Z
Is there an asset volume setup if you go to `Settings > assets > volumes`?
dmatthams
CC BY-SA 4.0
2020-07-15T15:33:06.543Z
500 errors are very generic. I'd check your error log.  If Craft handled the request, there also should be a matching error inside ``storage/logs/web.log``.  Could be permissions, could be something else completely. My guess is your web root in XAMPP isn't set right? Can you get to the backend at all?
RitterKnight
<craft3><error-message><image>
Craft CMS image src error
# Craft CMS image src error

(Asked by: username_0 on 2020-07-15)

Good morning,

I have inherited a Craft CMS site from a previous developer, and am running into issues when looking to add images to the site.

Following instructions I grabbed the copy of the SQL database for local use, and am running MySQL and Apache via XAMPP

I added new images to the local file structure (assets/images/) but when I go to the template being used and add the standard `![](./assets/images/name)` I get an error in the console of 404 http://localhost:3000/assets/images/image.jpg could not be found.
I then tried adding it directly into the same folder with my template code (just to see if I can get it working) but this time I got a 500 server error.

I am completely at a loss now since I never worked with CMS before (am an internal React/Node developer). I hope I explained the issue clearly, would anyone be able to point me in the correct direction?

Many thanks.

**Tags:** craft3, error-message, image
> **Comments:**
> **username_1**: So, you're not trying to fetch the images using Twig but manually entering the URLs? When you look at the page source and click on the URL of your image, does it exist in that location?  
> **username_2**: Is there an asset volume setup if you go to `Settings > assets > volumes`?  
> **username_3**: 500 errors are very generic. I'd check your error log.  If Craft handled the request, there also should be a matching error inside ``storage/logs/web.log``.  Could be permissions, could be something else completely. My guess is your web root in XAMPP isn't set right? Can you get to the backend at all?  

---

## 0 answers

