This commit is contained in:
Sanj 2011-11-07 16:13:21 +05:30
parent 28a66e2caf
commit f2dacca038

View File

@ -241,12 +241,13 @@ str.replace(/[\r\t\n]/g, " ")
{% load thumbnail %}
{% for i in data.imagegallery %}
{% thumbnail i.file "600x500" crop="center" as bigimage %}
{% thubmnail i.file "100x100" crop="center" as thumb %}
<a href="{{ bigimage.url }}" title="{{i.title}}" class="thickbox" rel="gall">
{% endthumbnail %}
{% thubmnail i.file "100x100" crop="center" as thumb %}
<img src="{{ thumb.url }}" />
{% endthumbnail %}
</a>
{% endthumbnail %}
{% endthumbnail %}
{% endfor %}
</div>
</div>