thumbnail images

This commit is contained in:
Sanj 2011-12-17 12:56:55 +05:30
parent e5b30015b7
commit 577aa9eff3

View File

@ -21,7 +21,7 @@
{% load thumbnail %} {% load thumbnail %}
{% for f in front_images %} {% for f in front_images %}
{% comment %} {% thumbnail f.image "468x282" crop="center" as im %} {% endcomment %} {% comment %} {% thumbnail f.image "468x282" crop="center" as im %} {% endcomment %}
<img src="{{ f.image.url }}" width="468" height="282" alt="" title="{{ f.caption }}" data-link="{{ f.link }}" class="banner"> <img src="{{ im.url }}" width="468" height="282" alt="" title="{{ f.caption }}" data-link="{{ f.link }}" class="banner">
{% endfor %} {% endfor %}
<!-- <img src="/static/images/noel/banner2.jpg" width="468" height="282" alt="banner-image" id="banner" > --> <!-- <img src="/static/images/noel/banner2.jpg" width="468" height="282" alt="banner-image" id="banner" > -->