No Code Attached Yet bug
avatar brianteeman
brianteeman
4 Jul 2026

What happened?

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

Mock-UP Example

Image

Version

ALL

Expected result

No response

Actual result

No response

System Information

No response

Additional Comments

No response

avatar brianteeman brianteeman - open - 4 Jul 2026
avatar joomla-cms-bot joomla-cms-bot - change - 4 Jul 2026
Labels Added: No Code Attached Yet bug
avatar joomla-cms-bot joomla-cms-bot - labeled - 4 Jul 2026
avatar brianteeman brianteeman - change - 4 Jul 2026
The description was changed
avatar brianteeman brianteeman - edited - 4 Jul 2026

Add a Comment

Login with GitHub to post a comment