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

Add-on Attachments resize

Discussion in 'Custom Service/Development Requests' started by Dakis, Feb 28, 2014.

  1. Dakis

    Dakis Well-Known Member

    I initially had stupidly big limits for my attachments (or no limits at all) until i figured out how the limits work. Now I have proper limits but I have thousands of attachment images that are many megabytes in size.

    I would like for someone to help me out on how to resize them all based on current limits.
  2. Aayush

    Aayush Well-Known Member

    You could download all of them and use some batch resizing utility on your computer to resize them and upload or else you could get a script made in PHP or whatever which does the same automatically on the server
  3. Dakis

    Dakis Well-Known Member

    Sure, the problem though as I understand it, is not just resizing the images themselves, but also updating the xenforo database table with the new dimensions.
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Yes, you would need a custom script to do it correctly.
    Dakis and Aayush like this.
  5. Dakis

    Dakis Well-Known Member

    Thanks Brogan, that's what I thought.

    If anyone would like to do this let me know what the cost would be - I have no idea how small or big job this might be.
  6. Brogan

    Brogan XenForo Moderator Staff Member

    I know he's busy but this might be something @Chris D could do, bearing in mind the work he has done with his gallery.
  7. AndyB

    AndyB Well-Known Member

Share This Page