-
Previous Value Current Value Open
Closed
-
Project/user icons are not displayed as transparent, but rendered as a round icon (there is a bug not rendering the project icon as round icon). This has better visual effect than transparent icon on different backgrounds (currently black and white) actually.
-
@robin There is actually another inconsistency: the default project avatar is 256x256, but uploaded avatars are resized to 240x240.
I believe PNG avatars should be supported, because right now the quality loss is significant:

It would be perfect if support for SVG (vectorial) images can be added, because they're going to be rendered at the right resolution by the browser and there are less bytes to store/transport.
-
Default avatar will be changed to 240x240 in next patch release for consistency.
-
Created a separate improvement request (OD-2594) to save uploaded avatar as png
| Type |
Improvement
|
| Priority |
Normal
|
| Assignee |
When selecting a transparent project avatar, even if picking a PNG with transparency, it ends up as a JPEG with a white background in the side bar that looks out of place on the dark theme. I tried with both 128x128 and 256x256 PNGs.
The Server icon for this project however looks fine with transparency and links to a PNG ( https://code.onedev.io/avatars/project.png ). Is it because it is hardcoded?
The top-left corner branding logo works fine with transparency.
Thank you!