Forums

Added image to project, collected static, see images in folder. STILL WONT DISPLAY

I added a new image to my app, Collected static, I can see the fils in the proper folders however the images will not display. When I inspect the Network tab i can see the image trying to display and getting a 404 error and the TYPE is listed as text/html instead of the .png that it is. I cannot for the live of me figure this error out??!?!?!?!

Have you configured static files as described in our guide here?

That was exactly the issue! I thought everything was configured correctly as all my original images were rendering properly however I was wrong. Thank you for the timely response and accurate assessment

We have a help page on debugging issues with static files here: https://help.pythonanywhere.com/pages/DebuggingStaticFiles/