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

XF 1.4 Problem with image size when uploading.

Pavle123

Active member
#1
Hello,

I am having trouble with image size uploading.

I read FAQ and did not exactly understand.

Does XenForo automatically resize image size if a user uploads file larger than the default 1024kb?

Here are my settings.
image size settings.jpg

I read in one of the topics that it is possible. Basically how can I do that?

I am using the latest version 1.4
I have two additions : showcase and advanced noidex
Using Mozilla Firefox latest
Problem is being experienced by all users.
 

Chris D

XenForo developer
Staff member
#2
No in that case the image would just fail uploading if it is over 1024Kb.

If you want resizing to happen you need to set Maximum attachment image dimensions.

The images will then be resized so they are no bigger than that automatically.
 

Pavle123

Active member
#3
The images will then be resized so they are no bigger than that automatically.
@Chris D by bigger you mean in terms of image dimensions or in terms of attachment file size?

I have tried to upload a 2.02 mb photo here and it uploaded. Does this mean you have set up attachment size to be lets say 3000kb or you have set image dimensions? If that is an image dimension, then could you please recommend what dimension to use Chris?

Thanks.
 

Chris D

XenForo developer
Staff member
#4
bigger you mean in terms of image dimensions or in terms of attachment file size?
If you set maximum image dimensions, the images will be resized automatically so the image dimensions are below what you set as the maximum.

If that is an image dimension, then could you please recommend what dimension to use Chris?
Our max file size here is 2MB and our max dimensions are 1280 x 1280.