Image Auto-Resizer is a plugin for MyBB 1.8. It auto-resizes uploaded images so that they do not exceed a stipulated maximum width and height.
Resizing large images can be memory-intensive, and because this plugin does not check for sufficient memory, you should ensure it yourself. A plugin user reported that a 32M memory_limit
setting was not sufficient to avoid out-of-memory errors, but that 128M (the default) was. That is a rough guide: the actual value will depend on what size images you have configured your MyBB site to accept in the first place.
-
Download.
Download an archive of the plugin's files.
-
Copy files.
Extract the files in that archive to a temporary location, and then copy the files in "root" into the root of your MyBB installation. That is to say that
root/inc/plugins/auto_resizer.php
should be copied to your MyBB root directory'sinc/plugins/
directory, androot/inc/languages/english/admin/auto_resizer.lang.php
should be copied to your MyBB root'sinc/languages/english/admin
directory. -
Install via the ACP.
In a web browser, open the "Plugins" module in the ACP of your MyBB installation. You should see "Image Auto-Resizer" under "Inactive Plugins". Click "Install & Activate" next to it. You should then see the plugin listed under "Active Plugins" on the reloaded page.
-
Configure settings.
Configure the plugin's settings via the ACP's "Settings" module.
-
Deactivate.
In a web browser, open the "Plugins" module in the ACP and click "Deactivate" beside the "Image Auto-Resizer" plugin.
-
Download and Copy files.
As in steps one and two for installing above.
-
Reactivate.
As for step one but clicking "Activate" this time.
-
Configure settings.
Configure any new settings for this plugin via the ACP's "Settings" module.
Image Auto-Resizer resizes images upon their being uploaded. To resize preexisting uploaded images, click "Go" beside Tools & Maintenance => Recount & Rebuild => Resize Uploaded Images in the ACP. You probably also want to do the same if you change the plugin's settings to specify either a smaller width or a smaller height than when this Resize Uploaded Images recount/rebuild was last run.
Image Auto-Resizer is licensed under the GPL version 3.
Image Auto-Resizer was originally authored by Laird to be maintained by the unofficial MyBB Group, as inspired by azalea4va in the MyBB Community Forums thread Resize image attachments, and as suggested by Eldenroot after he read that thread.