1. 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?

Discussion in 'XenForo Questions and Support' started by realaqu, Dec 6, 2014.

  1. realaqu

    realaqu Active Member

    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.

  2. Brogan

    Brogan XenForo Moderator Staff Member

    The FAQ in my signature explains how images are resized.

    You can set the limits in the ACP Options.
  3. AndyB

    AndyB Well-Known Member

    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;

  4. realaqu

    realaqu Active Member


Share This Page