image width and height

This commit is contained in:
rimu 2024-09-09 09:08:34 +12:00
parent 3cb3a1b80d
commit 801bceb7df

View file

@ -15,7 +15,7 @@
{% if post.image_id and not low_bandwidth -%}
<div class="post_teaser_image_preview">
<a href="{{ post.image.view_url() }}" rel="nofollow ugc" aria-label="{{ _('View image') }}" target="_blank"><img src="{{ post.image.medium_url() }}"
alt="{{ post.image.alt_text if post.image.alt_text else '' }}" loading="lazy" class="{{ ' blur' if blur_content }}" /></a>
alt="{{ post.image.alt_text if post.image.alt_text else '' }}" loading="lazy" class="{{ ' blur' if blur_content }}" width="{{ post.image.width }}" height="{{ post.image.height }}" /></a>
</div>
{% endif -%}
{% if post.body_html -%}