- Discussions
- 4 839
- Messages
- 12 546
- Solutions
- 84
- J'aime
- 7 848
- Points
- 198
Provides lazy loaded image support via the Lazysizes
A zero query method for per user-group lazy loading of the and
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;
In
Spinner
Fade image in while loading and show a spinner as background image (good for progressive images)
In;
In
Licensing :
Lazysizes is MIT Licensed, as of 2018-01-10.
Original source is aFarkas/lazysizes
Contributing features or bug fixes
Please create a Github Pull request via the "More Information" link.
Contributions
If you appreciate this addon, please consider a contribution via PayPal. Details will be provide via private conversation.
Please contact me if you wish for different licencing arrangements.
Télécharger V2.2.0 :
Version 2.2.1 : Improve extending XF js to be better compatible with other add-ons
Télécharger V2.2.1 :
Version 2.3.0 change :
Require XF2.1+, drop XF2.0 support
Update to lazysizes v5.2.0 from v5.1.2
Télécharger V2.3.0 :
Version 2.4.0 Feature update :
Support native lazy loading for;
Avatars, resource and threadmark icon's (default enabled)
bb-code and
Version 2.4.1 Bugfix update : Fix possible race condition between lazysize library's configuration and native loading support being applied
Version 2.5.0 - XF2.2 compatibility update :
Requires php 7.0+
Require Standard Library by Xon
Rename various options to be consistantly named
Support XF2.2, various options now support disabling native XF2.2 native lazy loading
Télécharger V2.5.0 :
Version 2.5.1 Bugfix : Prevent doubling images on selecting text/images under a spoiler & using quote/reply feature.
Télécharger V2.5.1 :
Version 2.6.0 :
Version 2.7.0 - XenForo 2.3 support :
Version 2.7.1 - Bugfix update :
- Fix javascript error when quoting a post via the 'reply' button with XF2.2
Télécharger V2.7.1 :
Version 2.7.2 - Bugfix update : Fix XF2.3 lightbox support.
Télécharger V2.7.2 :
Version 2.8.0 - Bugfix & maintainance update :
A zero query method for per user-group lazy loading of the and
- 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
- 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.
- Lazy load user avatars, resource icons, and threadmark icons.
- Use native lazy loading
- Requires a modern browser, otherwise falls back to js library code
- Inject blank SVG for attachment
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:
opacity: 0;
In
Lazy loading finished add ;
CSS:
opacity: 1;
transition: opacity 300ms;
Spinner
Fade image in while loading and show a spinner as background image (good for progressive images)
In;
Lazy loading ;
CSS:
opacity: 0;
In
Lazy loading in progress ;
CSS:
opacity: 1;
transition: opacity 300ms;
background: #f7f7f7 url(loader.gif) no-repeat center;
Licensing :
Lazysizes is MIT Licensed, as of 2018-01-10.
Original source is aFarkas/lazysizes
Contributing features or bug fixes
Please create a Github Pull request via the "More Information" link.
Contributions
If you appreciate this addon, please consider a contribution via PayPal. Details will be provide via private conversation.
Please contact me if you wish for different licencing arrangements.
Télécharger V2.2.0 :
Pour consulter le contenu, vous devez : Se connecter ou S'inscrire.
Version 2.2.1 : Improve extending XF js to be better compatible with other add-ons
Télécharger V2.2.1 :
Pour consulter le contenu, vous devez : Se connecter ou S'inscrire.
Version 2.3.0 change :
Require XF2.1+, drop XF2.0 support
Update to lazysizes v5.2.0 from v5.1.2
Télécharger V2.3.0 :
Pour consulter le contenu, vous devez : Se connecter ou S'inscrire.
Version 2.4.0 Feature update :
Support native lazy loading for;
Avatars, resource and threadmark icon's (default enabled)
bb-code and
Version 2.4.1 Bugfix update : Fix possible race condition between lazysize library's configuration and native loading support being applied
Version 2.5.0 - XF2.2 compatibility update :
Requires php 7.0+
Require Standard Library by Xon
Rename various options to be consistantly named
Support XF2.2, various options now support disabling native XF2.2 native lazy loading
Télécharger V2.5.0 :
Pour consulter le contenu, vous devez : Se connecter ou S'inscrire.
Version 2.5.1 Bugfix : Prevent doubling images on selecting text/images under a spoiler & using quote/reply feature.
Télécharger V2.5.1 :
Pour consulter le contenu, vous devez : Se connecter ou S'inscrire.
Version 2.6.0 :
- Require php 7.2+
- Require StandardLib 1.18.0+
- Require XenForo 2.2+
- Confirm XF2.3 compatibility
Pour consulter le contenu, vous devez : Se connecter ou S'inscrire.
Version 2.7.0 - XenForo 2.3 support :
- Require StandardLib v1.20.0+
- XF2.3 support
Pour consulter le contenu, vous devez : Se connecter ou S'inscrire.
Version 2.7.1 - Bugfix update :
- Fix javascript error when quoting a post via the 'reply' button with XF2.2
Télécharger V2.7.1 :
Pour consulter le contenu, vous devez : Se connecter ou S'inscrire.
Version 2.7.2 - Bugfix update : Fix XF2.3 lightbox support.
Télécharger V2.7.2 :
Pour consulter le contenu, vous devez : Se connecter ou S'inscrire.
Version 2.8.0 - Bugfix & maintainance update :
- Require StandardLib v1.22.0+
- Support XF2.2+ width/height attributes for IMG/ATTACH tags and use an SVG with those exact dimensions to prevent page-reflows due to height changes
- XF2.3 correctly sets the height attribute, while XF2.2 does not
Pour consulter le contenu, vous devez : Se connecter ou S'inscrire.
Dernière édition:

