portrait_fix

This commit is contained in:
2021-01-29 19:33:46 +00:00
parent df77f50fa7
commit 52810cfb1a
2 changed files with 2 additions and 1 deletions

View File

@@ -213,6 +213,7 @@ THUMBNAIL_ALIASES = {
"": {
"avatar": {"size": (50, 50), "crop": True},
"thumb": {"size": (150, 150), "crop": True},
"portrait": {"size": (200, 300), "crop": False}
},
}

View File

@@ -3,7 +3,7 @@
<div class="media-object stack-for-small">
<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 class="media-object-section main-section padding-bottom-1"">
<h1>{{ member.firstname }} {{ member.surname }}</h1>