mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-02-02 16:21:32 -08:00
image width and height
This commit is contained in:
parent
3cb3a1b80d
commit
801bceb7df
1 changed files with 1 additions and 1 deletions
|
@ -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 -%}
|
||||
|
|
Loading…
Add table
Reference in a new issue