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

XF 1.4 is there any way automatically reduce the image size?

realaqu

Active member
#1
our member always upload pretty big image file from their mobile phones, the file size usually between 3mb or 4mb, is there any way automatically shrink the size to preset max width and file size no more than 200k per pic? not just give them a warning and stop uploading instead.

thanks
 

Brogan

XenForo moderator
Staff member
#2
The FAQ in my signature explains how images are resized.

You can set the limits in the ACP Options.
 

AndyB

Well-known member
#3
our member always upload pretty big image file from their mobile phones, the file size usually between 3mb or 4mb, is there any way automatically shrink the size to preset max width and file size no more than 200k per pic? not just give them a warning and stop uploading instead.

thanks
Besides the normal image and attachment settings in the ACP, there is one other setting you should be aware of. Due the very large files modern cameras create, you will want to add this to your config.php file:

$config['maxImageResizePixelCount'] = 30000000;

https://xenforo.com/help/config-php-options/