Skip to content

Commit

Permalink
Merge pull request #10197 from cjsewell/patch-3
Browse files Browse the repository at this point in the history
Fix lazy load height attribute typo
  • Loading branch information
kinglozzer authored Jan 12, 2022
2 parents 945a506 + 29bdce9 commit dfa360c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/en/02_Developer_Guides/14_Files/02_Images.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ Images that don't have dimensions should not be lazy loaded as that might alter
page after the initial page load.

```ss
<img src="$Logo.URL" width="$Logo.Width" width="$Logo.Height" loading="lazy" alt="Company Logo" />
<img src="$Logo.URL" width="$Logo.Width" height="$Logo.Height" loading="lazy" alt="Company Logo" />
<!-- The size of this image is controlled by a CSS class so it can be lazy loaded -->
<img src="$resourceURL('themes/example/images/footer.png')" class="64x64square" loading="lazy" alt="" />
Expand Down

0 comments on commit dfa360c

Please sign in to comment.