500 error on PNG images I'm uploading a PNG image into my assets folder and linking to it from my css file - standard stuff, nothing special. However the PNG image is returning with a 500 error in the console and not displaying. When I visit the image directly in the browser I get a lot of numbers and:

Template Error

Unexpected character ""




I'm working locally with MAMP Pro and I've only recently restored my computer from scratch. I'm wondering whether this is a Craft issue or potentially a MAMP issue. It works fine if I use a Jpg instead or an externally hosted PNG.

This is also happening when I link to it with an img tag
Host your image assets outside of the templates directory. A more appropriate place for UI assets is in the /public directory.

Craft is attempting to parse the image like it is a template, which is causing the Unexpected Character error.