django load static image code example
Example 1: staticfiles
STATICFILES_DIRS = [BASE_DIR / 'static']
Example 2: image in django
<html>
<head>
{% load staticfiles %} <!-- Prepare django to load static files -->
</head>
<body>
<img src={% static "image.jpg" %}>
</body>
</html>