change image of member from ImageField to ThumbnailerImageField
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
func{% extends 'layout.html' %}
|
||||
{% extends 'layout.html' %}
|
||||
{% load post_helpers %}
|
||||
{% load static %}
|
||||
{% block content %}
|
||||
|
||||
@@ -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>
|
||||
@@ -16,7 +16,7 @@
|
||||
<div class="article-details">
|
||||
{{post.subtitle | tags_to_url }}
|
||||
<div class="article-author">
|
||||
<img src="{{author_image}}" alt="" style="width:80px;height:80px"/>
|
||||
<img src="{{author_image}}" alt="" />
|
||||
<a href="/members/member/{{post.author}}">{{post.author}}</a>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user