Change profile picture
Users can personalise the appearance of the User menu within the Top bar (see Working with the graphical user interface) by uploading a profile picture.
As long as no profile picture is stored (e.g. for Guest users as well who cannot upload a profile picture), the first character of the string that identifies the user appears instead (see User menu).
The Change profile picture function is available via the 'Settings' menu item in the User menu of the Top bar via a tab in the associated dialogue, provided the Role of session has the relevant permission (Administration/Accounts/Profile/Change profile picture):
The Profile picture tab in the Settings dialogue contains all the functions for managing the profile picture:
►NOTE◄ It is not possible to insert an image from the clipboard of the client operating system at this point. The uploaded file appears immediately in the preview area, where it can be edited if required for use as a profile picture:
|
|
|
|
Once the desired image section for the profile picture has been successfully ‘targeted’, the result can be adopted as the profile picture using the Set Button. If a satisfactory result is not achieved, there are various actions to choose from:
|
|
►NOTE◄ The image uploaded for editing is not completely uploaded to the Lobster Data Platform server when it is Set. Instead, only a square section of the image is transferred. The screenshot on the right shows the preview that a user sees when they select the Change profile picture function again after it has been Set. It is therefore not possible to subsequently ‘zoom out’ in order to recover parts of the image that have been removed by ‘cropping’. The file size is minimised and any content that is cut off remains ‘private’. |
|
►NOTE◄ The Styles property avatarBorderRadius can be used to adjust the curve radius for the image section. The default value of 50% (radius: diagonal) defines a full circle. With a value of 0%, a square section is displayed. However, this setting cannot be defined individually when assigning the profile picture.
The following table compares screenshots with different radii. A circle is always displayed in the preview window if this setting is ignored.
Styles settings |
Effective display in the User menu |
avatarBorderRadius 20% |
|
avatarBorderRadius 50% |
|
Access to profile pictures
Typically, a user's profile picture only appears in the context of their login in the User menu in the Top bar of their session.
However, each profile picture is transferred to the avatar subdirectory in the public web folder (for Lobster Data Platform / Orchestration) when it is Set, so that it can be ‘reused’ quite easily.
On the one hand, the profile image file is assigned a systematic file name with the schemeuser_avatar_{username}.png.
On the other hand, the avatarURL field in the data of Users with a profile picture is filled with a link that can be used to find the picture.