Resize attachments all

xF2 Add-on Resize attachments all 1.6

No permission to download
Compatible XF Versions
  1. 2.1
  2. 2.2
Description:

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

This add-on will run through all thread posts and resize any attached images which exceed the Maximum attachment image dimensions setting in the options page.

(Example of Resize attachments all page)

pic001.jpg


(Example of Maximum attachment image dimensions)

pic002.jpg


(Example of Options page)

pic003.jpg


Requirements:

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

pic004.jpg


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 attachment image dimensions 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.
Author
Admin
Size
20.6 KB
Extension
zip
Downloads
3
Views
1,430
First release
Last update

More resources from Admin

Latest updates

  1. Resize attachments all v1.6 changes:

    The Limit set in the options page will limit the number of posts to process.
  2. Resize attachments all v1.5 changes:

    Changed options page defaults maximum width and height to 2500.
  3. Resize attachments all v1.4 changes:

    Added note to indicate the add-on will only resize attachments in thread posts.
731Threads
2,287Messages
63,904Members
dpmarketLatest member
Back