Skip to content

Only load avatars once they are visible. Use with BuddyPress 6 and below. BP 7.0 comes bundled with native lazy image loading.

Notifications You must be signed in to change notification settings

r-a-y/bp-lazyload-avatars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BP Lazy Load Avatars

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.

About

Only load avatars once they are visible. Use with BuddyPress 6 and below. BP 7.0 comes bundled with native lazy image loading.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published