Image Resizer

xF1 Add-on Image Resizer 2.3

No permission to download
Compatible XF Versions
  1. 1.2
  2. 1.3
  3. 1.4
  4. 1.5
Description:

Image Resizer is designed to resize all your attached images which exceed dimensions specified.

The "Maximum Attachment Image Dimensions" setting in Options is sometimes initially set to high, this results in many very large images to be attached. This add-on will allow you to resize these large attached images to your current maximum dimensions. By resizing these large attachments, the end result will be threads which load faster and use less resources.

(Example of main page)

xenforo_com_community_attachments_pic001_jpg_68559__.jpg


(Example of options page)

xenforo_com_community_attachments_pic002_jpg_113939__.jpg


(Example of User Group Permissions)

xenforo_com_community_attachments_pic003_jpg_92875__.jpg


Features:
  • Images resized using ImageMagick for best quality.
  • All phrases start with imageresizer_ for your convenice.
Requirements:
  • Requires ImageMagick
  • Requires exec() execution
Installation:
  1. Download imageresizer_v1.9.zip and unzip it.
  2. Upload the Andy folder to your server. The correct location is library/Andy.
  3. From your Admin Control Panel, go to the "Install Add-on" page.
  4. Upload the addon-ImageResizer_v1.9.xml file.
  5. Click the Install Add-on button.
How to use step 1:
  1. Go to Image Resizer Options page and enter your Maximum Width and Maximum Height.
  2. Go to User Group Permissions and set the Administrative group to "Allow".
  3. Bring up the Main page by entering "imageresizer/show?limit=1" after the root portion of your forum URL.

    Examples:
    Code:
    http://www.domain.com/imageresizer/show?limit=1
    http://www.domain.com/forums/imageresizer/show?limit=1
    http://www.domain.com/community/imageresizer/show?limit=1
    http://www.domain.com/index.php/imageresizer/show?limit=1
How to use step 2:
  1. At this point you will be shown one attachment that exceeds your dimension settings.
  2. Click the Update 1 Attachments link.
  3. You will get a verification message indicating attachment was updated.
  4. Click the back button in your browser and reload the page.
  5. You will see the next attachment. Now change the "limit=1" in the URL to "limit=10"
  6. Click the Update link.
  7. Confirm successful update.
  8. Click the back button, reload the page and change the limit to 100.
Updating 100 attachments takes several minutes so be patient. You can raise the limit to a higher number, but the idea is to run several batches until all the attachments are resized.

Note:

Image Resizer will first analyze the actual attachment width and height and if this differs from the database information, the database is updated. Those attachments that required database updating may not require updating the file itself, so it is required to run this add-on twice to make sure every attachment has been properly resized.

If an attachment is missing from the attachment folder, an error message will indicate this problem. If you run into this, you will need to do one of two things:
  1. Go to post and delete the attachment.
  2. If attachment is not found in the post, you will need to use phpMyAdmin to remove the data from the following two files:

    xf_attachment
    xf_attachment_data
Author
AnimeHaxor
Size
5.9 KB
Extension
zip
Downloads
30
Views
1,347
First release
Last update

More resources from AnimeHaxor

Latest updates

  1. See description

    Image Resizer v2.3 changes: Updated PHP code.
  2. See description

    Image Resizer v2.2 changes: Updated PHP code.
  3. Image Resizer

    Image Resizer v2.1 changes: Updated PHP code.

Similar resources

Brivium - Image Lazy Loader AnimeHaxor
Image Lazy Loader improves your XenForo performance, load times and reduce server bandwidth.
0.00 star(s) 0 ratings
Downloads
7
Updated
Brivium - [Store Product] Image on Signature AnimeHaxor
The 3rd product-addon of Store Framework allows users purchases images and display at signature.
0.00 star(s) 0 ratings
Downloads
7
Updated
Convert Image AnimeHaxor
Converts hot linked images to attachments.
0.00 star(s) 0 ratings
Downloads
40
Updated
Convert Image All AnimeHaxor
Converts ALL hot linked images to attachments.
0.00 star(s) 0 ratings
Downloads
61
Updated
Converts hot linked images in Resource Manager into attachments.
0.00 star(s) 0 ratings
Downloads
3
Updated