⚠️ This issue respects the following points: ⚠️
Bug description
The image rendered under /apps/theming/icon does not consider the original aspect ratio of an uploaded logo. It makes it square.
Steps to reproduce
- Go to https://yournextcloud.com/settings/admin/theming and upload a non-square image under Logo
- See that the generated image under https://yournextcloud.com/apps/theming/icon is deformed:

Expected behavior
The generated image should keep the aspect ratio of the original logo and scale it propotionally.
Nextcloud Server version
30
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
Bug description
The image rendered under
/apps/theming/icondoes not consider the original aspect ratio of an uploaded logo. It makes it square.Steps to reproduce
Expected behavior
The generated image should keep the aspect ratio of the original logo and scale it propotionally.
Nextcloud Server version
30
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response