Simplify/Robustify the thumbnail URL usage in templates
[mediagoblin.git] / mediagoblin / templates / mediagoblin / edit / attachments.html
index ee9d5cb77773519294904e4dde10ee9feb612861..976b1619f3a0cc3626b672b581d7c72debb42b28 100644 (file)
@@ -36,8 +36,7 @@
           Editing attachments for {{ media_title }}
         {%- 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>
 
       {% if media.attachment_files|count %}