A question on uploading files/photos


Well-known member
Not sure if this has been asked/answered before. I just tried to post a photo via uploading it as an attachment. My upload failed because the file was too large. My question is whether there is auto-resizing feature (either native or as a plug in). If not, I think this would be a great feature.


XenForo moderator
Staff member
This is from the FAQ: http://xenforo.com/community/threads/frequently-asked-questions.5183/

Why can't I upload an image, even though it is smaller than the maximum dimensions (pixels) permitted?
Server-side file size (KB) resizing is not supported. Any files which are larger than the maximum size specified in theACP -> Options -> Attachments: Maximum Attachment File Size (KB) will be rejected.

Why can I upload an image, even though it is larger than the maximum file size (KB) permitted?
Uploaded files are first resized based on the maximum physical dimensions (pixels) set in the ACP -> Options -> Attachments: Maximum Attachment Image Dimensions. If the resized image is below the maximum file size (KB) limit, then it will be allowed.

I have attachments set to 1440x960, 1024KB and I can upload 6MB files without a problem.


Formerly Wuebit
also adding this if its a very big size in your .htaccess

php_value upload_max_filesize 20M
php_value post_max_size 20M