mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #10090 from creative-commoners/pulls/4/image-loading-docs
DOC Mention image lazy loading available from 4.9 onwards
This commit is contained in:
commit
da3d5813b5
@ -283,7 +283,7 @@ class Page extends SiteTree
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Controlling lazy loading in for `<img>` tags in SS templates
|
#### Controlling lazy loading in for <img> tags in SS templates
|
||||||
|
|
||||||
If you are manually writing `<img>` tags in your SS template, those images will not be automatically
|
If you are manually writing `<img>` tags in your SS template, those images will not be automatically
|
||||||
lazy loaded. You will need to add the `loading="lazy"` attribute yourself if you want the image to be
|
lazy loaded. You will need to add the `loading="lazy"` attribute yourself if you want the image to be
|
||||||
|
Loading…
Reference in New Issue
Block a user