Profile cover
, (*1)
Add a cover image to you profile page, (*2)
The width and height can be set in the plugin settings (default: 1600px x 300px), (*3)
Note
This plugin doesn't provide a means to show the actual profile cover image. It offers the option to upload/remove the image., (*4)
To display the image user:, (*5)
$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
}