The node_images_file_limit variable has it's default value (1 MB) in node_images.module, but where and how can the site admin set this value?

Comments

adik’s picture

in image_upload.module:

variable_get('image_upload_uploadsize_default', 1)) * 1024 * 1024;

* 1024 * - value in bytes. Change it to 5120 to make 5Mb:

variable_get('image_upload_uploadsize_default', 1)) * 5120 * 1024;