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

Implemented [Suggestion] Automatic Image Attachment Resizing

Discussion in 'Closed Suggestions' started by 0ptima, Sep 13, 2010.

  1. 0ptima

    0ptima Well-Known Member

    xF needs to incorporate the automatic resizing of images that exceed the predefined limit. Getting my users to re-size their photos rarely works and I often have to do it for them :(
    nrep likes this.
  2. Dean

    Dean Well-Known Member

    What is the largest pics commonly needing re-sized? Both in pixels and size of file.
  3. Tigratrus

    Tigratrus Well-Known Member

    Already suggested this on a couple other threads such as http://xenforo.com/community/thread...-on-the-users-machine-see-link.384/#post-7737



    Kier said he was going to take a look at plupload (http://xenforo.com/community/goto/post?id=31449) which is made by the same folks that make tinymce (the editor used by XF) and it can automatically resize images to an admin specified size ON THE USERS WORKSTATION. This is a huge issue, both for the bazillions of users that have no clue how to resize an image and get frustrated when their 7 meg picture takes foreeeeeeeeeever to upload and is then refused, as well as for bandwidth, storage and display issues on the forum admin side. :)
    gib and feldon30 like this.
  4. 0ptima

    0ptima Well-Known Member

    I was thinking more along the lines of having GD or image magik re-size the image on the forum server.
  5. Tigratrus

    Tigratrus Well-Known Member

    MUCH better to resize it on the workstation... We constantly get folks that take pictures with their 12 megapixel camera and then try to upload them without resizing the image. :: facepalm ::

    plupload lets the admin specify either Vertical or Horizontal pixel limitations or filesize limits that any images will be resized to on the user's machine, BEFORE it's uploaded. That's a LOT better having people trying to upload gargantuan images and getting frustrated because it times out, or exceeds upload limits etc. All us web geek types have no problem resizing an image, but you'd be AMAZED how many people haven't the first clue how to do that, or even why it's needed.

    The point is, you want to make uploading images as simple and painless as humanly possible. If images go into a centralized, searchable gallery, they can be priceless user generated content. And so many people use their smartphone cameras to take quick snaps of things they want to share, an image is often all they want to post with maybe a few words to go along with it. Forums need to get with the rest of the modern web in how they deal with images.
    gib, Shanj and turtile like this.
  6. Rich

    Rich Active Member

    Im so in need of this also. I have a photography forum and members Run away if they cant one click the photos to the site! so many sites do it they will just move on to an easier site.
  7. Vincent

    Vincent Well-Known Member

    @Brogan/Team: Wasn't this implemented a long time ago, along with the Lightbox?
  8. Brogan

    Brogan XenForo Moderator Staff Member

    If it refers to pixels then yes.
    Server-side file size (KB) is not supported, so I'll mark this as implemented.
  9. 0ptima

    0ptima Well-Known Member

    So if I upload a 1024-768 image and have XF set to re-size all attachments to 640*480, the image would be re-sized?
  10. Brogan

    Brogan XenForo Moderator Staff Member


    See the FAQ in my signature for how images are handled.
    0ptima likes this.
  11. 0ptima

    0ptima Well-Known Member

    Any idea why images are re-sized based on pixels and there is no option to re-size by bytes?

Share This Page