title: In Django template, image is not displayed correctly
body: <p>I have model class with fields current_value and previous_value.
  And then, in template used by listview, inside loop i have code like this:</p>
  
  <pre><code>{% if data.current_value &lt; data.previous_value %}
      &lt;img src="{% static 'app1/negative.png' %}" width="40" height="40"&gt;
      &lt;h1&gt;Price down&lt;/h1&gt;
  {% elif data.current_value &gt; data.previous_value %}
      &lt;img src="{% static 'app1/positive.png' %}" width="40" height="40"&gt;
      &lt;h1&gt;Price up&lt;/h1&gt;
  {% else %}
      &lt;img src="{% static 'app1/neutral.png' %}" width="40" height="40"&gt;
      &lt;h1&gt;Price the same&lt;/h1&gt;
  {% endif %}
  </code></pre>
  
  <p>H1 text is displayed correctly, image is not. More specific - image for 'else' condition i believe is always ok, but for 'if' and 'elif' is displaying the same picture (one of them).</p>
  
  <p>Confusing and infuriating. What am i doing wrong?</p>