Thumbnailing.
[zzz-floof.git] / floof / templates / macros.mako
index 061b7b9..ca3933e 100644 (file)
@@ -3,9 +3,9 @@
         % for item in art:
             <li>
                 <a href="${h.url("show_art", id=item.id)}">
-                    <img width="180" src="${item.get_path()}">
+                    <img src="${h.storage_url('art/thumbnail', item.hash)}">
                 </a>
             </li>
         % endfor
     </ul>
-</%def>
\ No newline at end of file
+</%def>