It is possible to define this constant in your config/mes_options.php
file (refer to the article dedicated to The mes_options.php file). [2]
- The default value is : 0
Example:
// images larger than 450 KB will not be saved
define('_IMG_MAX_SIZE', 350);
When this constant is defined as 0
(zero), SPIP will not do any size checking when uploading an image.
This constant should not be confused with _IMG_MAX_WIDTH and _IMG_MAX_HEIGHT.