[Xon] Lazy Load [img]

Free XF2 Add-ons [Xon] Lazy Load [img] 2.5.1
Provides lazy loaded image support via the Lazysizes

Compatible XF versions
2.1, 2.2
Provides lazy loaded image support via the Lazysizes

A zero query method for per user-group lazy loading of the and [attach] tags in threads and conversations.

Uses a noscript tag around the original img tag.

Option to force lazy loading of contents in a spoiler tag.

[B]Permissions:[/B]

Adds the permission:
[LIST]
[*]Enable Lazy Load Images
[/LIST]
For "Forum Permissions" and "Conversation Permissions" sections.

[B]Options:[/B]
[IMG alt="1604583144578.png"]https://xenforo.com/community/attachments/1604583144578-png.239104/

  • Enable Outside threads/Conversations
    • permits the lazy loading bbcode injection to run outside of those contexts. Inside those context it will still respect permissions.
  • Force lazy loaded spoiler'ed images
    • Ignores permissions, and lazy loads images in spoilers
  • Lazy load icons
    • Lazy load user avatars, resource icons, and threadmark icons.
      This uses browser native lazy loading.
  • Use native lazy loading
    • Requires a modern browser, otherwise falls back to js library code
  • Inject blank SVG for attachment
  • Like
Reactions:Trifonoww_
Author
FateKid
Downloads
4
Total Views
450
Released
Version
2.5.1
Rating
0.00 star(s) 0 ratings

More files from FateKid

Share this resource

Similar resources

Alert Improvements by Xon FateKid
A collection of improvements to the XenForo Alerts system.
0.00 star(s) 0 ratings
Downloads
3
Attachment Improvements By Xon FateKid
A collection of improvements to XF's attachment system
0.00 star(s) 0 ratings
Downloads
0
Adds the in-line moderator option "Change Post Date".
0.00 star(s) 0 ratings
Downloads
0