Lazy Load [img]

xF2 Add-on Lazy Load [img] 2.7.2

No permission to download
Compatible XF Versions
  1. 2.0
  2. 2.1
  3. 2.2
  4. 2.3
Additional Requirements
php 7.0+
Require Client Browsers to be at least IE9, Firefox or Chrome.
Provides lazy loaded image support via the Lazysizes

A zero query method for per user-group lazy loading of the and [/B]
  • 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

Unveil effects
Add styling to your theme for the classes: lazyload, lazyloading, lazyloaded.

Fade in
CSS:
/* fade image in after load */
.lazyload,
.lazyloading {
    opacity: 0;
}
.lazyloaded {
    opacity: 1;
    transition: opacity 300ms;
}
Spinner
CSS:
/* fade image in while loading and show a spinner as background image (good for progressive images) */

.lazyload {
    opacity: 0;
}

.lazyloading {
    opacity: 1;
    transition: opacity 300ms;
    background: #f7f7f7 url(loader.gif) no-repeat center;
}
Known issues:
  • Doesn't work with XenForo Resource Manager.
  • Doesn't work with XenForo Media Gallery.
  • 1556885264883.png
    1556885264883.png
    19.7 KB · Views: 187
Author
Admin
Size
37.8 KB
Extension
zip
Downloads
57
Views
2,841
First release
Last update

More resources from Admin

Latest updates

  1. 2.7.2 - Bugfix update

    Fix XF2.3 lightbox support
  2. 2.7.1 - Bugfix update

    Fix javascript error when quoting a post via the 'reply' button with XF2.2
  3. 2.6.0 - Maintainance update

    Require php 7.2+ Require StandardLib 1.18.0+ Require XenForo 2.2+ Confirm XF2.3 compatibility

Similar resources

731Threads
2,287Messages
63,771Members
bizmovLatest member
Back