mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fix lazy load height attribute typo
This commit is contained in:
parent
945a506c4d
commit
29bdce98b2
@ -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="" />
|
||||
|
Loading…
Reference in New Issue
Block a user