Detect uploaded avatar in BuddyPress