xF2 Add-on - Lazy Load [img] | NulledTeam UnderGround | The Best Scripts Site In The World
Lazy Load [img]

xF2 Add-on Lazy Load [img] 2.2.0

No permission to download
Compatible XF Versions 2.x
2.0, 2.1
Additional Requirements
php 5.6+
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 [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:
[ATTACH type="full" alt="22688"]22688[/ATTACH][/B]
[LIST]
[*]Enable Outside threads/Conversations
[LIST]
[*]permits the lazy loading bbcode injection to run outside of those contexts. Inside those context it will still respect permissions.
[/LIST]
[*]Force Lazy Loaded Spoiler
[/LIST]

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

[B]Fade in[/B]
[CODE=css]/* fade image in after load */
.lazyload,
.lazyloading {
opacity: 0;
}
.lazyloaded {
opacity: 1;
transition: opacity 300ms;
}[/CODE]
[B]Spinner[/B]
[CODE=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;
}[/CODE]
[B]Known issues:[/B]
[LIST]
[*]Doesn't work with XenForo Resource Manager.
[*]Doesn't work with XenForo Media Gallery.
[/LIST]
Author
AnimeHaxor
Downloads
32
Views
390
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from AnimeHaxor

Latest updates

  1. 2.2.0 - feature update

    Update to lazysizes v5.1.2 from v4.1.4 Add style properties for lazyload/lazyloading/lazyloaded...
  2. 2.2.0 - feature update

    Update to lazysizes v5.1.2 from v4.1.4 Add style properties for lazyload/lazyloading/lazyloaded...
  3. 2.1.5 - Maintenance update

    Add "blank SVG" option to allow customizing of the blank SVG template Fix potential SVG...

AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock