where to set the node_images_file_limit variable?
doka - March 15, 2009 - 12:54
| Project: | Node Images |
| Version: | 6.x-2.1 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
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?

#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;