hypejunction / avatars
Avatar API
Installs: 35
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Type:elgg-plugin
Requires
- php: >=5.5
- composer/installers: ~1.0
- hypejunction/cropper: ~1.0
- hypejunction/images: ~1.0
Suggests
README
ABANDONED The plugin had a serious negative impact on performance, so I have abandoned it. Use https://github.com/hypeJunction/hypeLists
Features
- Generic API and UI for uploading, handling and cropping entity avatars
Usage
Allow avatars
To allow entities to have avatars, use 'avatars:enabled', "$type:$subtype"
hook.
Input Field
echo elgg_view('input/avatar', array( 'entity' => $entity, 'name' => 'upload', ));
Action
avatars_create_avatar_from_upload($entity, 'upload');