manifest / performance / bp-lazyload-avatars
BP Lazy Load Avatars
Only load avatars once they are visible. Use with BuddyPress 6 and below. BP 7.0 comes bundled with native lazy image loading.
★ 3stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/r-a-y/bp-lazyload-avatars/archive/refs/heads/master.zipBP Lazy Load Avatars is a small BuddyPress plugin that only loads avatars if they are visible on screen.
This can considerably save unnecessary network requests and loading times when viewing a BuddyPress page.
How to use?
- Make sure BuddyPress is already activated and installed in WordPress.
- Download, install and activate this plugin.
- Navigate to any page that shows BuddyPress avatars and scroll down to see it in action.
Caveats
- Requires javascript to be enabled
Version
0.1 - Pre-release
License
GPLv2 or later.
Thanks
- Luís Almeida - for creating the Unveil jQuery plugin. A lightweight library to lazy load images licensed under the MIT.