coldtrick / profile_cover
This package is abandoned and no longer maintained.
No replacement package was suggested.
Add a cover image to you profile page
Package info
github.com/ColdTrick/profile_cover
Type:elgg-plugin
pkg:composer/coldtrick/profile_cover
v5.0.1
2022-07-12 11:44 UTC
Requires
- composer/installers: ^1.0.8
Requires (Dev)
- coldtrick/sniffs: dev-master
Conflicts
- elgg/elgg: <4.1
README
Add a cover image to you profile page
The width and height can be set in the plugin settings (default: 1600px x 300px)
Note
This plugin doesn't provide a means to show the actual profile cover image. It offers the option to upload/remove the image.
To display the image user:
$user = elgg_get_logged_in_user_entity(); if ($user->hasIcon('cover', 'profile_cover')) { $cover_image_url = $user->getIconURL([ 'type' => 'profile_cover', 'size' => 'cover', ]); // do something with $cover_image_url }