• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Uploaded file is too large - but it isn't


Active member
I'm setting up & testing the attachment settings. I have a 8192kb max file size & max attachment image dimensions 0f 1000px x 1000px.

When I try to upload an image that is 3994kb I get the following error:

The pixel size is 3648 x 2736 = 9980928

I have the following in my config.php as per Brogans FAQ;

$config['maxImageResizePixelCount'] = '20000000';
Have I added that code wrong? Or do I have another issue? Image loads fine here.




Active member
I have upload_max_filesize 2M

I'm guessing that's someting I need to get my service to change? Even though the image is re-sized on posting to around 300kb?