Hi team,
I have been trying to load an image, but the code below gives me the TemplateSyntaxerror: Could not parse the remainder: ' 'grading_app/thirty.jpg'' from 'static 'grading_app/thirty.jpg'' when I run it:
{% extends "global/Page.html" %}
{% load otree %}
{% block content %}
<h2>Image Should Go Here</h2>
<img src=" static 'grading_app/thirty.jpg' "/>
{% formfields %}
<p>
{% next_button %}
</p>
{% endblock %}
I am sure the folder and image names are correct. I tried getting rid of the quotation marks, replacing that line with <img src=" static 'grading_app/thirty.jpg' "/> . This got rid of the TemplateSyntaxError, but I ended up seeing just the icon below (instead of the actual image):
Thanks in advance!!