What's new

Welcome to KodeBlend Forums

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Ask question

Ask questions and get answers from our community

Answer

Answer questions and become an expert on your topic

Contact us

Contact the site administrator directly.

Telegram

Join Telegram Channel to stay updated.
ifastnet
Lazy Load [img]

Xenforo Lazy Load [img] v2.7.1

No permission to download
Provides lazy loaded image support via the
Please, Log in or Register to view URLs content!


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-webp.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

Unveil effects
Add styling to your theme for the classes: lazyload, lazyloading, lazyloaded. This can be done by the provided style classes

Fade in
Fade image in after load.

In; Lazy loading and Lazy loading in progress
CSS:
Please, Log in or Register to view codes content!
In Lazy loading finished add;
CSS:
Please, Log in or Register to view codes content!
Spinner
Fade image in while loading and show a spinner as background image (good for progressive images)

In; Lazy loading;
CSS:
Please, Log in or Register to view codes content!
In Lazy loading in progress;
CSS:
Please, Log in or Register to view codes content!
A "loader.gif" image is not provided by this add-on!

Licensing:

Lazysizes is MIT Licensed, as of 2020-06-07.
Original source is
Please, Log in or Register to view URLs content!




Contributing features or bug fixes
Please create a Github Pull request via the "More Information" link.
Author
KodeBlend
Downloads
0
Views
23
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from KodeBlend

shape1
shape2
shape3
shape4
shape5
shape6
Back
Top
Whatsapp Support
Start a Conversation
Hi! Click one of our member below to chat on Whatsapp
The team typically replies in a few minutes