Skip to content

Commit

Permalink
Add intrinsic image dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
klickreflex committed Oct 22, 2021
1 parent a329f1e commit 2271f85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dev/resources/views/components/_picture.antlers.html
Expand Up @@ -40,6 +40,8 @@
{{ /if }}
src="{{ glide:url preset='lg' }}"
alt="{{ alt ensure_right='.' }}"
width="{{ image.width }}"
height="{{ image.height }}"
{{ if lazy }}
loading="lazy"
{{ /if }}
Expand Down

0 comments on commit 2271f85

Please sign in to comment.