WP Manifestindependent plugin directory
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

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/r-a-y/bp-lazyload-avatars/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

BP 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.