The following warnings occurred:
Warning [2] Undefined array key "sourceeditor" - Line: 718 - File: inc/plugins/rineditor.php PHP 8.2.21 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/rineditor.php 718 errorHandler->error_callback
/inc/plugins/rineditor.php 776 rineditor_inserter_quick
/inc/class_plugins.php 142 rineditor
/showthread.php 471 pluginSystem->run_hooks

Laird   22-12-2020, 09:30 PM
Image Auto-Resizer
Automatically resize image attachments to save disk space
  • MyBB 1.8.x.
  • Auto-resizes each image upon its upload as an attachment.
  • A Recount & Rebuild tool to auto-resize pre-existing image attachments.
  • Maximum height and width can be stipulated in the plugin's settings.
Potential and Planned Features
  • Auto-optimise/compress images to further reduce size.
  • Automatically add a watermark to images.
  • Settings to stipulate affected/ignored forums.
  • Settings to stipulate affected/ignored usergroups.
  • An option to auto-generate different image sizes and automatically support the "srcset" img tag attribute.
  1. Download the zip archive (see below).
  2. Extract its files.
  3. Copy (recursively) the files under "root" into your forum's root.
  4. Install+activate via the ACP's Plugins page.
  5. Configure the plugin in the ACP under Settings -> Plugin Settings -> Image Auto-Resizer.
  6. (Optionally, but recommended) Resize pre-existing image attachments via the ACP by clicking "Go" beside Tools & Maintenance -> Recount & Rebuild -> Resize Uploaded Images.
  • GPL3.
GitHub Repository Link MyBB Extend Page Link (Download Here)
This post was last modified: 22-12-2020, 09:48 PM by Laird.
Laird   31-10-2021, 04:39 AM
Version 1.0.3 has been released, with the following new feature:
  • Where supported, eliminates unintended image rotation on resize due to "orientation" EXIF data being lost.
Laird   12-12-2021, 08:10 PM
Version 1.0.4 has been released, with the new feature and fix:
  • Bugfix: The file size bug introduced in v1.0.3 has been fixed. This bug led to issues with the display of images via attachment.php (partial rendering; failed downloads). Corrective code has been added so that these issues are no longer experienced for already-uploaded images too.
  • The support for auto-orientation has been improved so that it implements the full set of eight possible Exif orientation types.
Laird   30-12-2021, 01:18 PM
Thanks to the report and testing of HLFadmin, version 1.0.5 has been released:
  • Bugfix: when a file was missing in the filesystem, the corrective for the bug in v1.0.3 was causing errors to be generated. (An alternative to upgrading from v1.0.4 to v1.0.5 so as to fix this is to use the Find Orphaned Attachments functionality of the ACP to remove the database entries for any missing files).
This post was last modified: 30-12-2021, 01:20 PM by Laird.
Laird   25-03-2024, 12:05 AM
Version 1.1.0 has been released, with these new fixes and features:
  • Fixes some PHP 8 warnings.
  • Adds (experimental) support for detecting animated GIFs/PNGs, and optionally resizing them or excluding them from resizing.
  • Adds settings to stipulate usergroups and forums to be excluded from image auto-resizing.
  • Adds support for watermarking images, including the ability to automatically back up original, pre-watermarked images.
  • Adds some other miscellaneous improvements.
Users browsing this thread: 1 Guest(s)
Powered By MyBB, © 2002-2024 MyBB Group.
Made with by MattyWjeisz of Curves UI.