portrait_fix
This commit is contained in:
@@ -213,6 +213,7 @@ THUMBNAIL_ALIASES = {
|
|||||||
"": {
|
"": {
|
||||||
"avatar": {"size": (50, 50), "crop": True},
|
"avatar": {"size": (50, 50), "crop": True},
|
||||||
"thumb": {"size": (150, 150), "crop": True},
|
"thumb": {"size": (150, 150), "crop": True},
|
||||||
|
"portrait": {"size": (200, 300), "crop": False}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
<div class="media-object stack-for-small">
|
<div class="media-object stack-for-small">
|
||||||
<div class="media-object-section padding-bottom-2">
|
<div class="media-object-section padding-bottom-2">
|
||||||
<img src= "{{member.image.url}}" style="width:150px;">
|
<img src= "{{member.image.portrait.url}}" style="width:150px;">
|
||||||
</div>
|
</div>
|
||||||
<div class="media-object-section main-section padding-bottom-1"">
|
<div class="media-object-section main-section padding-bottom-1"">
|
||||||
<h1>{{ member.firstname }} {{ member.surname }}</h1>
|
<h1>{{ member.firstname }} {{ member.surname }}</h1>
|
||||||
|
|||||||
Reference in New Issue
Block a user