Fixed Resource icons are not lazy-loading


Well-known member
Affected version

return "<{$tag} {$hrefAttr} class=\"avatar avatar--{$size}\"{$attributesString}>"
        . '<img src="' . htmlspecialchars($src) . '" alt="' . htmlspecialchars($resource->title) . '" />'
        . "</{$tag}>";
is is missing loading="lazy"
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.10).

Change log:
Add lazy loading attribute to resource icons
There may be a delay before changes are rolled out to the XenForo Community.
Top Bottom