[ENTITY][AttachmentThumbnail] Every image should have width and height attributes

This commit is contained in:
2021-09-25 13:12:32 +01:00
parent 808da203ad
commit a681acae67
9 changed files with 60 additions and 15 deletions

View File

@@ -3,7 +3,7 @@
{% if attributes['has_attachment'] != false %}
{% set thumbnail_parameters = {
'id': embed.getAttachmentId(),
'size': 'small'
'size': 'medium'
} %}
<img alt="{{embed.getTitle() | escape}}" class="{{attributes['class']}}"
width="{{attributes['width']}}" height="{{attributes['height']}}"