noteworthy template

This commit is contained in:
Sanj 2012-10-24 15:01:20 +05:30
parent 44cb791484
commit 88cb831e09

View File

@ -56,7 +56,21 @@ float:right;
{% thumbnail n.image "200" as im %}
<img src="{{ im.url }}" width="200" alt="" class="imgLinks">
{% endthumbnail %}
<br />
<div class="imgLinksExtra">
{% for img in n.noteworthyimage_set.all %}
{% thumbnail img.image "1000" as im_large %}
{% thumbnail img.image "80x80" crop="center" as im %}
<a href="{{ im_large.url }}" target="_blank">
<img src="{{ im.url }}" />
</a>
{% endthumbnail %}
{% endthumbnail %}
{% endfor %}
</div>
{% else %}