If you add an image to an article - either using the xtd-editor button or by drag and drop you get the option to lazy load the image - by default it is set to true
There is no option to set the intro or full image to be lazy loaded
The way the code is written in layouts\joomla\html\image.php is that if the value is not set then the image will be lazy loaded. This is fine for intro images but for a full article image it is probably not correct and there should be an option to set loading=lazy to on or off.
In a standard joomla installation the full image will only be displayed on a page where it is the Largest Content Paint (LCP) you should not be setting it to be lazy loaded.
I created a tutorial in the JCM explaining how you can make an override for this but ideally (and for consistency) there should be an explicit option to enable/disable lazy loading for the full image
ALL
No response
No response
No response
No response
| Labels |
Added:
No Code Attached Yet
bug
|
||