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

Images upload limit?


Active member
I'm a little confused with the upload limits.

For attachments I've set a filesize of 2048kb and max amount 10.
But how does this work for uploaded (inline) images? I noticed people are still able to add more than 10 images in their posts. Images are not attachments?


XenForo moderator
Staff member
Images linked to on other servers aren't covered by the maximum number of attachments set in the ACP.
These are just hotlinked/embedded and not attached/uploaded.

For uploaded images, the following applies:

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.



Active member
Thanks for the quick reply!
Well, I just checked on my site why someone was still able to upload more than 10 images, but I think I understand why now. That member uploaded 13 of the same images (as a test), but when I edit the post to see the code, I see just 10 unique attachment ID's:
So I guess if there where 13 different pictures, it wouldn't have worked.


Active member
One more question:

I didn't set a max size for the images, so now images auto resize to fit in the post. Great, but can I also set the auto resize dimensions and that you are still able to click the image to see the full size? If you know what I mean ;)


XenForo moderator
Staff member
I think you mean this.

.bbCodeImage {
max-width: 100%;

Add that to EXTRA.css and change the % to suit, or change to a pixel value.