Attachment max size?

ArtG

Active member
I know there are some older posts about this but wanted to get current recommendations. My forum is focused on planted aquariums and members post high res pics of their aquariums. I'm constantly getting pushback about my current 3 mb size limit.

Anyone have thoughts on whether this is appropriate or if I can/should increase the size limit?

My uneducated concern is slowing down the site with very large image files.

Thanks in advance,

Art
 

M@rc

Well-known member
Anyone have thoughts on whether this is appropriate or if I can/should increase the size limit?
If members are complaining, I recommend increasing it.

It's better to lose a few extra storage space than the members themselves.

You can use image optimizing addons to decrease the size of attachments that are uploaded too.
 
Last edited:

Tracy Perry

Well-known member
If I understand the process correctly you can allow larger upload sizes and then force any uploads to be resized to a format you set, which should reduce the ultimate upload size. Now, will the users images be the same size as when they sent them? Nope... but if they are THAT concerned about showing their images in all their glory.... maybe they need to participate in the recurring "paid member upgrade" you would be willing to set up. ;)
 

StarArmy

Well-known member
Yesterday the weather was nice so I took my 4 year old daughter to the playground. While we were there I took some photos using my Galaxy S9 phone. To answer your question, OP, I looked at what size typical phone images are using the last photo I took and the filesize was 4.19 MB for a regular default size cellphone pic. If your forum doesn't allow people to post standard size pics from their phones, I think you are going to block most of your uploads. I recommend something like 9MB provided your servers can do it.
 
Last edited:

Tracy Perry

Well-known member
I allow unlimited file size (since I restrict pretty much to mages) uploads... but in XFMG I restrict to a certain image size, which forces the image to be converted.

I don't think that the XF attachment function has that capability.. and it REALLY should have even if XFMG is not installed. If XFMG is installed, it should have the ability to restrict image upload to a specified maximum image width/height.
 

Brogan

XenForo moderator
Staff member
Uploaded files are automatically resized based on those settings.

If the resized image is below the maximum file size (KB) limit, then it will be allowed.
 

Tracy Perry

Well-known member
Uploaded files are automatically resized based on those settings.

If the resized image is below the maximum file size (KB) limit, then it will be allowed.
Yep... as I said.. for some reason I could not find where it was.. I was pretty sure it was there, but wasn't go to make a claim to such until I could point it out directly. ;)

That's why I put the upload size limit high... then restricted it to a set dimension size realizing it would get sized down.
You'd be (or may not be) surprised at the sizes of the images that astrophotographers tend to upload... luckily many of them use a service like AstroBin.
 
Top