Univention Bugzilla – Bug 56344
hardcoded maxsize of profile picture
Last modified: 2023-07-23 15:44:25 CEST
The following UCR variable: umc/server/upload/max: 2048 This variable configures the maximum size of file uploads in kilobyte. has no affect to the hardcoded value in the User Profile picture JavaScript widget: management/univention-web/js/widgets/ImageUploader.js [...] maxSize: 262400 [...] management/univention-management-console-module-udm/umc/js/udm/DetailPage.js [...] maxSize: 262144, // make sure that user pictures are not too large [...] So the administrator can only set profile pictures to 0,3MB! We should either set it as default consistent to the umc/server/upload/max: 2048 or give an configuration option.