1👍
✅
Do this instead
<img id="image" src ="{% static "polls/images/question_logos/" %}{{ question.question_logo }}.jpg"/>
0👍
You need to put quotes around the id
attribute as well.
This should work perfectly.
<img id ="image" src ="{% static "polls/images/question_logos/{{ question.question_logo }}.jpg" %}"/>
Source:stackexchange.com