[Answer]-Django static img not showing in my blog

1👍

It looks like your src attribute is incorrect for you image.

<img class="pic" src="{{ STATIC_URL }}/static/img/foto.jpg"  alt="foto"/>

should be

<img class="pic" src="{{ STATIC_URL }}img/foto.jpg"  alt="foto"/>

Since STATIC_URL is already taking care of adding /static/ to your url. If you use the debugger tools in your browser and take a look at the src for that image you’ll probably see it saying “/static/static/img/foto.jpg” when it should be “/static/img/foto.jpg”

0👍

Also ensure you have collected the static image files by running:

python manange.py collectstatic

Leave a comment