<div xmlns="http://www.w3.org/1999/xhtml"
xmlns:py="http://genshi.edgewall.org/">
<hr/>
<div py:if="value.is_image()" class="attachment_thumb">
<a href="${value.url()}"><img src="${value.url()}/thumb"/></a>
<br/>
<a href="${value.url()}">$value.metadata.filename</a>
($value.length) bytes)
</div>
<div py:if="not value.is_image()">
<a href="${value.url()}">$value.metadata.filename</a>
($value.length) bytes)
</div>
<br style="clear:both"/>
</div>