Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python

Django Images

When I try to put an image in my HTML file, the image will not load on the web page. I go about it the same way as referencing a CSS or JS file with the {% static %} plus the location of the image.

In addition, when I inspect the element on google chrome, the sources tab does not show the img folder under my static folder even though it is on my computer.

Can someone please explain why images won't show up whereas CSS and JS files show. Also can you explain how to get the images to show.

Chris Freeman
Chris Freeman
Treehouse Moderator 68,441 Points

Ryan, can you give a specific HTML code example you're trying?