title: Image not fetched correctly from the specified path - Django Template
body: <p>I need to pass the value of a variable and add it to the image source so I can fetch my images in the template as shown.</p>
  
  <pre><code>&lt;div id="Layer7"&gt;
      {% if imgs %}
          {% for i in imgs %}
          &lt;img src="{% static "images\uploads\i"%}""&gt;                  
          {% endfor %}
      {% else %}
      {% endif %}
  &lt;/div&gt;
  </code></pre>
  
  <p>Variable <code>imgs</code> contains a list of images names so I need to attach it to the url shown in the img src in order to fetch the image. When the above code is excuted I get a broken image link with the the following url<code>/static/images/uploads/i</code> which is false.</p>
  
  <p>Any help with this issue?</p>