Skip to content

MyBB plugin - automatically resize all images in attachments to save bandwidth and space :)

License

Notifications You must be signed in to change notification settings

mybbgroup/Image-auto-resizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 

Repository files navigation

About

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.

Resource requirements

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.

Installing

  1. Download.

    Download an archive of the plugin's files.

  2. 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's inc/plugins/ directory, and root/inc/languages/english/admin/auto_resizer.lang.php should be copied to your MyBB root's inc/languages/english/admin directory.

  3. 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.

  4. Configure settings.

    Configure the plugin's settings via the ACP's "Settings" module.

Upgrading

  1. Deactivate.

    In a web browser, open the "Plugins" module in the ACP and click "Deactivate" beside the "Image Auto-Resizer" plugin.

  2. Download and Copy files.

    As in steps one and two for installing above.

  3. Reactivate.

    As for step one but clicking "Activate" this time.

  4. Configure settings.

    Configure any new settings for this plugin via the ACP's "Settings" module.

Resizing preexisting uploaded images

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.

Licence

Image Auto-Resizer is licensed under the GPL version 3.

Maintainers and credits

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.

About

MyBB plugin - automatically resize all images in attachments to save bandwidth and space :)

Resources

License

Stars

Watchers

Forks

Languages