change image of member from ImageField to ThumbnailerImageField
This commit is contained in:
@@ -3,8 +3,6 @@
|
||||
{# only thumb and name of member #}
|
||||
{% load thumbnail %}
|
||||
<a class="thumbnail member-thumb" href="/members/member/{{member.nickname}}" style="width:150px;height:150px">
|
||||
{% if member.image %}
|
||||
<img src="{{member.image | thumbnail_url:'thumb'}}" />
|
||||
{% endif %}
|
||||
<img src="{{member.image.thumb.url}}" alt="" />
|
||||
<div class="thumb-layer"><div><h1>{{member.nickname}}</h1> <p>{{member.firstname}} {{member.surname}}</p></div></div>
|
||||
</a>
|
||||
Reference in New Issue
Block a user