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 wider than 500 pixels will not be saved
define('_IMG_MAX_WIDTH', 500);
When this constant is defined as 0
(zero), SPIP will not do any size checking when uploading a document.
See also: _IMG_MAX_SIZE and _IMG_MAX_HEIGHT.