title: Preloading Images With Django Template Langue
body: <p>Is this code enough to preload images on my website? I use Django template langue for the loop, instead of javascript, like <a href="https://stackoverflow.com/questions/3646036/javascript-preloading-images">there</a>. Is there any advantage of using javascript? Is my way as good as the javascript way?</p>
  
  <pre><code>{% for marker in markers %}
      &lt;img src="{{ marker.image }}" style="display: none"/&gt;
  {% endfor %}
  </code></pre>