Django image not showing on webpage [closed]
I am following the w3schools tutorial w3schoools-img and trying to display a img on my Django webpage but I am getting a small green icon instead:
this is my template:
{% extends "book/base.html" %}
{% block content %}
<h1>Books</h1>
<h2>Genre: {{ genre }}</h2>
<p>Books: </p>
{% load static %}
<img src="{% static '71wdAPcG-PL._SY466_.jpg' %}">
{% for i in titles %}
<li>
{{ i.text }}
</li>
{%empty%}
{%endfor%}
{% endblock content %}
Is there something I am doing wrong? I have created a static folder with the image in my template folder.