add title attr to proj images

This commit is contained in:
Sanj 2011-10-09 17:07:09 +05:30
parent f87af86cb4
commit b631e2eb12

View File

@ -78,7 +78,7 @@
{% load thumbnail %}
{% for p in projects %}
{% thumbnail p.thumb_image "100x100" crop="center" as im %}
<li><img id="thumb_{{ p.slug }}" src="{{ im.url }}" data-id="{{ p.id }}" width="100" height="100" alt="{{ p.title }}" class="projectThumb" /></li>
<li><img id="thumb_{{ p.slug }}" src="{{ im.url }}" data-id="{{ p.id }}" width="100" height="100" alt="{{ p.title }}" title="{{ p.title }}" class="projectThumb" /></li>
{% endthumbnail %}
{% endfor %}
</ul>