# Images from ImageField dead in html when project is in production/deployment mode (debug = False)

**URL:** <https://forum.djangoproject.com/t/images-from-imagefield-dead-in-html-when-project-is-in-production-deployment-mode-debug-false/15290>\
**Category:** Deployment\
**Created:** [August 8, 2022, 9:58pm UTC](https://forum.djangoproject.com/t/images-from-imagefield-dead-in-html-when-project-is-in-production-deployment-mode-debug-false/15290 "2022-08-08T21:58:17Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [August 9, 2022, 12:50pm UTC](https://forum.djangoproject.com/t/images-from-imagefield-dead-in-html-when-project-is-in-production-deployment-mode-debug-false/15290/8 "2022-08-09T12:50:00Z")

</div>

None of these other issues you keep raising are in any way relevant to this `404` issue with the images.

The browser is issuing a request - `GET /media/images/abc.jpg`.

It’s a request for a file.

It’s not a reference to a view.

None of that is at all in play here.

You’re directing runserver to retrieve a file. In a production environment, Django would not even be involved in this request.

The 404 error is the message saying that runserver can’t (or “chooses not to”) find that file.

Actually, you may be stuck here. I’m not seeing a good solution for serving media files through runserver with debug=False.

---

_[View the full topic](https://forum.djangoproject.com/t/images-from-imagefield-dead-in-html-when-project-is-in-production-deployment-mode-debug-false/15290)._
