Upload file size
Answers: 1
24/02/2026 17:30
Reads: 3
Hello, when trying to upload a file larger than 2 MB into an image-type field, it gives an error about the file upload size limit. Is it possible to increase the image size limit in MV?
Answers: 1
Maxim
26/02/2026 13:14
Yes, the limits can be changed. The general settings for all images are located in the config/settings.php file and are called 'MaxImageSize', 'MaxImageWidth', and 'MaxImageHeight'.
Individual parameter values can also be set for each field. More details here:
https://mv-framework.com/file-and-image-datatypes
It is important to remember that PHP has its own file size limits, which are set in php.ini or .htaccess:
; php.ini ; Maximum allowed size for uploaded files. upload_max_filesize = 20M ; Must be greater than or equal to upload_max_filesize post_max_size = 20M ; .htaccess php_value upload_max_filesize 20M php_value post_max_size 22M
Answer the question