• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

[Free Add-on ] Lazy Load [img] 1.2.4

No permission to download
Compatible XF Versions
1.4, 1.5
License
MIT Licence
Provides lazy loaded image support via the Unveil.

A zero query method for per user-group lazy loading of the
capture-png.95716.png
stance before images are loaded.

Uses a noscript tag around the original img tag. Make sure you set the Unregistered group to "Never' for lazy load if you are worried about SEO.

Supports the add-on [Tinhte] Image Attachment Optimization & CDN Support .

Option to force lazy loading of contents in a spoiler tag.

Permissions:


Adds the permission:
  • Enable Lazy Load Images
For "Forum Permissions" and "Conversation Permissions" sections.

Options:
capture-png.95716.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.


Known issues:

  • Doesn't work with XenForo Media Gallery.
  • Doesn't work with Resource Manager.
  • May impact SEO due to the use of noscript to present the original image to users without scripting.
  • Loading spinner is ugly, and not per style.


Licensing:

Unveil is MIT Licensed, as of 2015-01.
Original source is luis-almeida/unveil · GitHub
This project uses: Xon/unveil · GitHub

loader.gif sourced from: Ajaxload - Ajax loading gif generator licensed under WTFPL — Do What the **** You Want to Public License


Installation

I recommend using Add-on install & upgrade or Install and Upgrade by waindigo to install this addon.

Contributing features or bug fixes
Please create a Github Pull request via the "Find more info at github.com..." link.
Author
XenForo Rocks
Downloads
30
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from XenForo Rocks

Latest updates

  1. 1.2.4 - Bugfix update

    Fix bug where image thumbnails are not displayed at correct dimensions
  2. Reduce jank for attachments

    For attachments built an inline SVG which reserves the space for the image, hopefully removing...
  3. 1.2.2 - Bugfix update

    Use javaScriptSource to support CDN/alternative javascript paths Fix an issue the image would...
  4. Bugfix update

    Bugfixes to XFMG integration. Thanks @Nuno
  5. Add XenForo Media Gallery support

    Thanks to @Nuno for contributing. Adds support for lazyloading the thumbnail image.