6 min read #OpenCloud#UX

OpenCloud · Profile pictures

Cropping for profile pictures and space images

In a file store you often see nothing but names, initials and gray circles. Since OpenCloud 3.0.0, everyone can upload a profile picture that then appears wherever the interface shows people: in the top bar, when sharing, in activities, in user management. When uploading a space image, space managers choose the visible 16:9 area with mouse or keyboard. With 3.1.0 you can also remove a space image again.

If you want to share a folder with a colleague, you type her name into the search field and get a list. If three people in your organization are named Müller, the guessing starts: which email address, which department? The spaces overview looks similar. Twenty projects with similar names are only quick to tell apart if each one has an image you recognize. And an image that gets cropped badly on upload shows half a forehead or the sky above the office building.

You recognize a face faster than a name, and a familiar image faster than a project title. OpenCloud aims to be usable without a manual, and that includes seeing at a glance who you are dealing with and where you are.

One profile picture across all views

Since OpenCloud 3.0.0, the account page has an upload button under “Profile picture”. JPG and PNG up to 10 MB are allowed. After you pick a file, a dialog opens where you set a round crop; the interface saves it as a square PNG of 256 × 256 pixels. If you no longer want the picture, remove it with “Delete image” and confirm the prompt. There is no setting to turn the feature on; it is available to all users right away.

  1. Account page “My Account” in OpenCloud 3.1.0: row “Profile picture” with the note “Max. 10MB, JPG, PNG”, below it a circle with the initials AM and the “Upload” button.
    On the account page, the “Upload” button sits under “Profile picture”. As long as there is no picture, the circle shows the initials.
  2. Dialog “Crop your new profile picture”: portrait photo with a round crop frame and guide lines, below it the note “Zoom via +-, pan via ↑↓←→” and the buttons “Cancel” and “Set”.
    After selecting the file, you set the round crop in the dialog and confirm with “Set”.
  3. Right part of the top bar with a bell, the sidebar icon and the round profile picture instead of the initials.
    The picture then appears immediately in the user menu in the top right.

From then on, the picture shows up wherever only initials used to be:

  • in the user menu in the top right and in notifications,
  • when sharing, both in the suggestions as you type a name and in the list of people who already have access,
  • in the list of shared files and in a file's activities,
  • in user management for admins, and among the members of groups and spaces.
Share dialog in OpenCloud 3.1.0, search field containing “Müll”: three suggestions, Anna, Lena and Max Müller, all with only initials on a colored circle.

Before: three “Müller” entries when sharing, distinguishable only by their initials.

The same share dialog after Anna and Max Müller uploaded a profile picture: Anna and Max with a photo, Lena still with the initials LM.

After: people with a profile picture appear with their photo in the suggestions, everyone else still with initials (OpenCloud 3.1.0).

Without an uploaded picture, a person still appears with their initials on a colored background, and the initials also show while a picture is still loading. So that a long member list doesn't flood the server with requests, the interface loads at most four pictures at once and asks only once per person, even if that person has none.

On the server, the picture is available through the Graph API at /me/photo/$value. The API is modeled on the profile photo endpoint of Microsoft Graph. Each person can only set or delete their own picture; other people's pictures can be read via /users/{id}/photo/$value. It is stored in the internal metadata storage, not in the person's personal space.

Cropping for space images

A space is the shared place of a team or project, and its image is the first thing you see in the overview. Until now, OpenCloud took an uploaded image as it was, and the tiles showed whatever happened to fit. Since 3.0.0, uploading opens a dialog where space managers choose the visible area. The frame has a fixed 16:9 aspect ratio, the same one the overview and the space details use. What you see in the dialog is what later appears in the tile.

Tile of the space “Events” in OpenCloud 2.3.0 with a portrait-format team photo: the tile shows the middle of the image, the heads touch the top edge.

Up to 2.x: the tile shows whatever is in the middle of the portrait photo (OpenCloud 2.3.0).

Tile of the space “Events” in OpenCloud 3.1.0 with the same photo: the chosen crop shows the faces with some room above them.

Since 3.0.0: the crop is chosen in the dialog and lands in the tile exactly like that (OpenCloud 3.1.0).

There are two ways to reach the dialog. Through the space's context menu you upload an image from your own computer, JPG or PNG. If the image you want is already in the space, choose “Set as space image” in its context menu, and the same crop dialog opens. The crop is saved as a PNG in the space's hidden folder, where OpenCloud also keeps the image and description.

  1. Context menu of the space “Marketing” in the spaces overview, with the “Edit image” submenu open, showing “Set image” and “Set icon”.
    In the space's context menu, “Edit image” leads to “Set image”. Then you pick an image from your own computer.
  2. Dialog “Crop your Space image” with a wide team photo and the fixed 16:9 frame, below it the note “Zoom via +-, pan via ↑↓←→” and the buttons “Cancel” and “Confirm”.
    In the “Crop your Space image” dialog you set the crop within the fixed 16:9 frame and confirm with “Confirm”.
  3. Tile of the space “Marketing” in the overview with the chosen crop of the team photo.
    The tile in the overview shows exactly this crop.
Context menu of the file “team-photo.jpg” in a space with the highlighted entry “Set as space image”.

If the image is already in the space, “Set as space image” leads to the same crop dialog (OpenCloud 3.1.0).

With OpenCloud 3.1.0, the image actions in the context menu are grouped under “Edit image”: set image, set icon and, new, delete image. After a confirmation prompt, the space shows the default image again. This default image now appears everywhere a space has no image of its own, and since 3.1.0 it uses the OpenCloud brand color. The template image the server ships for new spaces was adjusted to match.

Context menu of a space in OpenCloud 3.1.0 with the “Edit image” submenu expanded: “Set image”, “Set icon” and, highlighted, “Delete image”.

Since 3.1.0 under “Edit image”: “Set image”, “Set icon” and the new “Delete image”.

Tile of a space without its own image in OpenCloud 3.0.0: tile icon in gray-blue.

Default image in 3.0.0: gray-blue.

The same tile in OpenCloud 3.1.0: tile icon in the dark petrol of the OpenCloud brand.

Default image since 3.1.0: in the brand color.

Keyboard cropping

A crop dialog that only works with a mouse excludes people who use a keyboard or assistive technology. WCAG success criterion 2.1.1 requires every function to be operable by keyboard. The first test versions still lacked keyboard control; it was added before the 3.0.0 release. Both dialogs, for the profile picture and for the space image, respond to these keys:

  • The arrow keys move the crop in steps of 10 pixels.
  • + and - zoom in and out in steps of 10 percent.

A short note below the image mentions these keys, so nobody has to look them up in the docs.

Cropping with the keyboard only: + and - zoom, the arrow keys move the crop. The key overlays were added for the recording (OpenCloud 3.1.0).

Limitations

There is only one way for a profile picture to get into OpenCloud: you upload it yourself in the web interface. If you log in through an external identity provider via OpenID Connect and already have a picture there, you have to upload it to OpenCloud a second time; OpenCloud doesn't take it from the login. Nor does it read pictures from an LDAP directory. Admins cannot set or remove other people's profile pictures, and there is no setting to turn the feature off.

The web interface checks the 10 MB limit and the JPG and PNG formats. The server itself only requires the uploaded data to be an image, but doesn't convert it. If you call the API directly, you can store larger images. Through the web interface that can't happen, because it always sends the 256 × 256 pixel crop.

None of these features requires a subscription. Everything is in the rolling releases 3.0.0 from June 10 and 3.1.0 from June 30, 2025.

Sources