xF2 Add-on - Resize attachments all | NulledTeam UnderGround | The Best Scripts Site In The World
Resize attachments all

xF2 Add-on Resize attachments all 1.2

No permission to download
Compatible XF Versions 2.x

Resize all attached images in posts which are over maximum width and height allowed.

This add-on will run through all posts and resize any attached images which exceed the allowed maximum setting in the options page.

(Example of Resize attachments all page)


(Example of Options page)


  1. Download Andy-ResizeAttachmentsAll-1.0.zip and unzip it.
  2. Copy the src/addons/Andy/ResizeAttachmentsAll directory to your server.
  3. From the Admin Control Panel Install the add-on.

This add-on requires ImageMagick PECL extension to be enabled. Make sure the following is checked:

Admin control panel -> Options -> Attachments -> Default image processor -> ImageMagick PECL extension


If you're not able to select ImageMagick PECL extension, contact your web host and ask them to install it.

How to use:
  1. Select the maximum width and height you want images to be in the Options page.
  2. Add "resizeattachmentsall" to your forum URL and press enter.
  3. Click the "Prepare rebuild table" link.
  4. Go to Rebuild caches page.
  5. Click the "Rebuild now" button in the Resize attachments all block.
Database changes:

This add-on will create a table called andy_resize_attachments_all in your database.

Questions and Answers:

Q: Who can run this add-on?
A: You must be an admin to run this add-on.
First release
Last update
0.00 star(s) 0 ratings

More resources from Admin

Share this resource

Latest updates

  1. Resize attachments all v1.2 changes:

    Fixed issue dealing with internal_data file missing in file directory.
  2. Resize attachments all v1.1 changes:

    Fixed issue dealing with thumbnails which are missing in the file directory.