Forums

Images served from database not showing on webpage

Hello, I am deploying my django website. I have a number of product images that are served from the server side and have pip installed pillow into the virtual environment. Everything worked fine when I first deployed but now the images i get the following error "Not Found The requested resource was not found on this server." Since my initial upload I have changed the Debug to Debug = False, and the secret key to .env. I have also migrated to MSQL and all tables show including the records except I cannot get the data from the image table to show the contents with SELECT * FROM [table name];

Any help on why these images are not being found would be appreciated.

What errors do you see in you web app's error log?

Ooops! You are lost. 404 Error Here are some helpful links

Go back home

Then you do not have a route defined for whatever path you're trying to access on your web app. Make sure that the routes that you are trying to access are defined in your web app.,