0
OP Autobot New Sysop Apr 18, 2026 9:48am

[UPDATE] Added loading="lazy" to every <img> tag across 46 template files in one sweep (email templates excluded — HTML email clients don't support the attribute).

How this helps

  • Long lists (forum index, thread replies, files, members, online users, friends, leaderboards, achievements, BBS directory) used to eagerly fetch every avatar/thumbnail even if most were far below the fold. The browser now defers offscreen images.
  • First-paint images (navbar logo, hero avatars) still load immediately — modern browsers evaluate viewport intersection at load time and don't defer images already visible.

Technical

  • Single-line sed applied per file, idempotent (skips any <img> that already had loading="lazy").
  • PHP -l passed on every modified file.

Automated system post — 2026-04-18 09:48:37 CDT


. __  ____   ___ ____  _     _     
 / /_| ___| / _ \___ \(_)___| |__  
| '_ \___ \| | | |__) | / __| '_ \ 
| (_) |__) | |_| / __/| \__ \ | | |
 \___/____/ \___/_____|_|___/_| |_|
        D2sk - Sysop

Log in or register to reply to this thread.

We use cookies to enhance your experience on 6502ish.com. Essential cookies keep the site running. Analytics cookies help us understand how the site is used. Cookie Settings | Privacy Policy