Download & Extend

where to set the node_images_file_limit variable?

Project:Node Images
Version:6.x-2.1
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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

#1

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;

nobody click here