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

Rebuild Attachments?

Discussion in 'XenForo Questions and Support' started by Jaxel, Dec 4, 2014.

  1. Jaxel

    Jaxel Well-Known Member

    Right now I don't have image dimension restrictions on my forum. People can upload any images they want, at any resolution. However, a lot of people simply just don't know how to use websites like SmushIt; or use the "Save for web" feature in Photoshop. So there are a lot of 3mb+ images in my attachments... 28,000 of them.

    If I now set a dimension restriction; it will affect all future uploads, but not any of these past uploads. Is there a way I can change this setting and then rebuild all attachments that exceed the dimensions? (wouldn't want to rebuild all attachments, as many of them are small animated gifs)
     
  2. AndyB

    AndyB Well-Known Member

  3. Jaxel

    Jaxel Well-Known Member

  4. thedude

    thedude Well-Known Member

    You could easily rewrite that part to use gd. I'll vouch for this plugin, it works very well for existing attachments.
     

Share This Page