Make User.name unique.
[zzz-floof.git] / floof / templates / macros.mako
index 5633e5b..ca3933e 100644 (file)
@@ -2,10 +2,10 @@
     <ul class="artwork-grid">
         % for item in art:
             <li>
-                <a href="${h.url("art", id=item.id)}">
-                    <img width="180" src="${item.get_path()}">
+                <a href="${h.url("show_art", id=item.id)}">
+                    <img src="${h.storage_url('art/thumbnail', item.hash)}">
                 </a>
             </li>
         % endfor
     </ul>
-</%def>
\ No newline at end of file
+</%def>