- Compatible versions
- 2.1, 2.2
Description:
Resize all attached images in posts that are over the maximum width and height allowed.
This add-on will run through all thread posts and resize any attached images that exceed the Maximum attachment image dimensions setting in the options page.
(Example of Resize attachments on all pages)
(Example of Maximum attachment image dimensions)
(Example of Options page)
Requirements:
This add-on requires the 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 the ImageMagick PECL extension, contact your web host and ask them to install it.
How to use:
1. Set desired Maximum attachment image dimensions. Setup -> Options -> Attachments
2. Set the desired Limit to limit the number of posts to process. Setup -> Options -> Resize attachment all
3. Add "resizeattachmentsall" to your forum URL and press enter.
4. Click the "Prepare rebuild table" link.
5. Go to the Rebuild caches page.
6. Click the "Rebuild now" button in the Resize attachments all block.
For testing set the Limit to 1. Once you have verified the add-on works properly, change the Limit to a higher number and follow steps 3~6.
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.
Q: Will this add-on exclude GIF attachments?
A: Yes.
Resize all attached images in posts that are over the maximum width and height allowed.
This add-on will run through all thread posts and resize any attached images that exceed the Maximum attachment image dimensions setting in the options page.
(Example of Resize attachments on all pages)
(Example of Maximum attachment image dimensions)
(Example of Options page)
Requirements:
This add-on requires the 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 the ImageMagick PECL extension, contact your web host and ask them to install it.
How to use:
1. Set desired Maximum attachment image dimensions. Setup -> Options -> Attachments
2. Set the desired Limit to limit the number of posts to process. Setup -> Options -> Resize attachment all
3. Add "resizeattachmentsall" to your forum URL and press enter.
4. Click the "Prepare rebuild table" link.
5. Go to the Rebuild caches page.
6. Click the "Rebuild now" button in the Resize attachments all block.
For testing set the Limit to 1. Once you have verified the add-on works properly, change the Limit to a higher number and follow steps 3~6.
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.
Q: Will this add-on exclude GIF attachments?
A: Yes.