• 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

rwm1962

Active member
#1
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:
upload_2015-5-24_0-32-34.png

The pixel size is 3648 x 2736 = 9980928

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

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

Thanks

DSC03686.JPG
 

rwm1962

Active member
#3
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?