Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted November 23, 20222 yr At the moment, we can only upload a graphical icon, so I suggest adding lazy loading. This helps the page load faster especially on a mobile device and eliminates the error in PageSpeed Insights {{elseif $forum->icon}} <img src="{file="$forum->icon" extension="forums_Icons"}" alt='' class='ipsItemStatus ipsItemStatus_custom {{if !\IPS\forums\Topic::containerUnread( $forum ) && !$forum->redirect_on}}ipsItemStatus_read{{endif}}'> {{else}} to {{elseif $forum->icon}} <img src="{file="$forum->icon" extension="forums_Icons"}" alt='Icon' class='ipsItemStatus ipsItemStatus_custom {{if !\IPS\forums\Topic::containerUnread( $forum ) && !$forum->redirect_on}}ipsItemStatus_read{{endif}}' loading='lazy'> {{else}} Edited November 23, 20222 yr by SeNioR-