Lazy Load [img] 2.8.0

XF 2.1 / 2.2 / 2.3 Lazy Load [img] 2.8.0

Add-on xenforo 2

Ressources et modules complémentaires pour XenForo 2

Styles xenforo 2

Styles / Thèmes et apparence pour xenforo 2

Templates xenforo 2

Codes pour modifier les templates sur xenforo 2

Section Premium

Add-on et Styles pour membre Premium
Lazy Load [img] 2.8.0

XF 2.1 / 2.2 / 2.3 Lazy Load [img] 2.8.0

Catégorie Catégorie Add-Ons
Titre du sujet Titre du sujet Lazy Load [img] 2.8.0
Auteur de la discussion Auteur de la discussion laurent68
Date de début Date de début
Réponses Réponses 12
Affichages Affichages 741
Réaction Réaction 0
Dernier message par Dernier message par Kaareth

laurent68

Fondateur

Staff
fondateur
Réputation: 100%
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
  • 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
Options :

sgk.png


.png

  • 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:
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 :

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 :
  • Require php 7.2+
  • Require StandardLib 1.18.0+
  • Require XenForo 2.2+
  • Confirm XF2.3 compatibility
Télécharger V2.6.0 :

Version 2.7.0 - XenForo 2.3 support :
Télécharger V2.7.0 :

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 :
  • 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
Télécharger V2.8.0 :
 
Dernière édition:
Ajout de la version 2.2.1 :)
 
Ajout de la version 2.3.0 :)
 
Ajout de la version 2.4.1 :)
 
Ajout de la version 2.5.0 :)
 
Ajout de la version 2.5.1 :)
 
Ajout de la version 2.6.0 :)
 
Ajout de la version 2.7.0 :)
 
Ajout de la version 2.7.1 :)
 
Ajout de la version 2.7.2 :)
 
Ajout de la version 2.8.0 :)
 
Contenu similaire Les plus vues Voir plus
Retour
Haut Bas