Hi. Is there a particular reason for using relative paths for images? You should be using static URL for the static files (images, js, css) – that is Django’s way of handling it. The fact you are getting alt text is because the template is not able to locate the image file. You should be able to see the URL in Network tab and verify that it is incorrect. See How to manage static files (e.g. images, JavaScript, CSS) | Django documentation | Django and tutor-indigo/tutorindigo/templates/indigo/lms/templates/footer.html at 188cb63edb2766b35a4aa84ea43180e3bcacba3e · overhangio/tutor-indigo · GitHub for examples of using static urls in templates.
1 Like