Closed brentkearney closed 4 years ago
I have seen it suggested in the forums that there is also a file size limit in the Admin panel -> Settings. I do not see that setting. Perhaps it was removed, at some point?
Found it! The settings are stored in the database. Unfortunate there is no UI for updating them. Hopefully this info helps someone else confused by this problem.
mysql> select setting_name, setting_value from chv_settings where setting_name LIKE "%size%";
+---------------------------------------+---------------+
| setting_name | setting_value |
+---------------------------------------+---------------+
| upload_max_filesize_mb | 100 |
| user_image_avatar_max_filesize_mb | 5 |
| user_image_background_max_filesize_mb | 5 |
| upload_medium_size | 500 |
| image_load_max_filesize_mb | 100 |
| upload_max_filesize_mb_guest | 5 |
+---------------------------------------+---------------+
Hello,
I'm running Chevereto-Free from the docker image, and added a custom php.ini to increase the file upload size limits. I set:
When I login as the admin user, and go to the Dashboard, these settings are reflected in the information displayed there. However, when I attempt to upload a photo over 2MB in size, there is a white banner at the top of the page, with
JPG PNG BMP GIF 2 MB
in the top-left corner, and the upload fails with the message, "DSC09008.JPG - File too big.".Where else should the file size limits be set?
Many thanks