I’ve just started configuring the File Uploader plugin. Everything seems to be working swimmingly, files uploading without an issue – love this plugin.
The problem: I can’t set a Maximum size of the uploaded files. The image width and height restrictions work just fine, but I can’t set a restriction on the max file size.
From the dashboard, in the forum plugin options, the field says:
Maximum size (in bytes) of image files (0 = no limit)
PHP UPLOAD_MAX_SIZE is 33554432 and PHP POST_MAX_SIZE is 34603008:
I set this value to 2097152. (2 MB, seems reasonable)
I also set the width and height restrictions to 2500 pixels each. Click save, everything looks good.
When I then visit the forum and click to upload an attachment into a topic, here are the listed constraints:
Image upload constraints: Size (bytes): unlimited Width (pixels): 2500 Height (pixels): 2500
Same goes for media files — anything value I put into the Maximum size is ignored, unlimited uploads allowed.
File upload constraints: Size (bytes): unlimited
The PHP UPLOAD_MAX_SIZE value will keep anyone from uploading anything too crazy (and the height and width restrictions should be good enough to keep the images down to size), but I’d love to be able to set the max size to something reasonable.
Could I be doing something wrong here, or have others encountered this same problem?
Thanks for any guidance.