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

Image Upload Auto Resizing/Compression

Discussion in 'XenForo Pre-Sales Questions' started by ron_jeremy, Oct 22, 2014.

  1. ron_jeremy

    ron_jeremy New Member

    We are currently testing the xenforo demo, and have a question about uploading an image into a post via smartphones. Right now if we try to upload images into a post that we've just snapped on our phones we get the "file too big" error. Now I realize I can easily fix this by increasing the max allowable upload size, but I certainly don't want 4MB images bogging down the forum. Is there any way to have photos that are uploaded into a post to be automatically downsized/compressed if they're larger than the max allowable size?
     
  2. AndyB

    AndyB Well-Known Member

    Images uploaded will be resized to the maximum dimensions you specify here:

    Admin CP -> Home -> Options -> Attachments -> Maximum Attachment Image Dimensions

    I set mine to 1600x1600.

    Typically this ends up with attachments not exceeding about 700KB.
     
  3. ron_jeremy

    ron_jeremy New Member

    Hi Andy,

    Thank you for the prompt reply. I will apply your suggestion and reply with my findings.
     
  4. ron_jeremy

    ron_jeremy New Member

    Andy,

    That looks like it did the trick -- thank you very much! Do you know if it's possible to allow board visitors that are not logged in to see uploaded attachments?
     
  5. AndyB

    AndyB Well-Known Member

    The Unregistered / Unconfirmed user group can see attachments by default.
     
  6. ron_jeremy

    ron_jeremy New Member

    Thanks very much. I just checked and it is set to "Not Set (No)", but I set it to yes and all is good.

    Thanks again!
     
  7. thewebexpert

    thewebexpert New Member

    Question, sorry to hijack this thread, but I have a similar issue, on my new board, I have set the max file size to be 6 meg, 2048x2048 as the max image size, but whenever I upload a 4 meg file, it does the upload and gives this error: "The uploaded file is too large for the server to process. "

    Am I missing something?
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    Support is not provided in the pre-sales forum.

    Any questions should be posted in the relevant customer forum.
     
  9. thewebexpert

    thewebexpert New Member

    Ok, I will post a new topic. You can feel free to delete the post ...
     

Share This Page