Simplify/Robustify the thumbnail URL usage in templates
[mediagoblin.git] / mediagoblin / templates / mediagoblin / user_pages / media_collect.html
index a56c9cd3b0bd2dec733aed85fc2fafa3fbd281d5..cefe638bb9813315a72ab787df342a964462b941 100644 (file)
           Add {{ title }} to collection
         {%- endtrans %}
       </h1>
-         
+
       <div style="text-align: center;" >
-        <img src="{{ request.app.public_store.file_url(
-                         media.media_files['thumb']) }}" />
+        <img src="{{ media.thumb_url }}" />
       </div>
-         
+
       <br />
          
       <p class="form_field_label">