[AndyB] Resize attachments all

XF2 Addons [AndyB] Resize attachments all 1.6
Resize all attached images in posts which are over maximum width and height allowed.

Compatible versions
2.1, 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. Set desired Maximum attachment image dimensions. Setup -> Options -> Attachments
2. Set desired Limit to limit 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 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.
FateKid
Author FateKid
Level
11
5,910 pts
1.6 Version
3 Downloads
183 Views
Published
Updated
0.00 star(s) 0 ratings Average Rating (0)

More files from FateKid

Customize Your XenForo 2 Community

[AndyB] Resize attachments all provides ultimate customization to your XenForo 2 community website! Enjoy powerful features that make your site stand out. Combine this add-on with XenForo 2 styles from our site and kickstart your online community now.

Why Download Our XenForo 2 Add-ons?

  • Easily enhance the quality of your XenForo online community.
  • Expand your XenForo 2 functionality with thousands of unique options.
  • Create unbelieveable user-experiences with advanced features.

Explore Other Resources

Are you looking for something different? Explore our thousands of unique and special XenForo 2 add-ons, available to download right now. FateKid shared this wonderful resource to you for free, so remember to share your appreciation by liking the resource and reviewing it.

Get started today and make your next project truly unique.

Top Bottom