Imsanity

Wordpress Plugin
Download latest - 2.8.2

Developers

nosilver4u

Download Stats

Today 614
Yesterday 1,060
Last Week 5,998
All Time 998,911
Banner 772x250

Automatically resize huge image uploads with Imsanity. Choose whatever size and quality you like, and let Imsanity do the rest. When a contributor uploads an image that is larger than the configured size, Imsanity will automatically scale it down to the configured size and replace the original image.

Imsanity also provides a bulk-resize feature to resize previously uploaded images and free up disk space. You may resize individual images from the Media Library's List View.

This plugin is ideal for blogs that do not require hi-resolution original images to be stored and/or the contributors don't want (or understand how) to scale images before uploading.

Features

  • Automatically scales large image uploads to a more "sane" size
  • Bulk resize feature to resize existing images
  • Selectively resize images directly in the Media Library (List View)
  • Allows configuration of max width/height and JPG quality
  • Optionally converts BMP and PNG files to JPG for more savings
  • Once enabled, Imsanity requires no actions on the part of the user
  • Uses WordPress built-in image scaling functions

Translations

Imsanity is available in several languages, each of which will be downloaded automatically when you install the plugin. To help translate it into your language, visit https://translate.wordpress.org/projects/wp-plugins/imsanity

Contribute

Imsanity is developed at https://github.com/nosilver4u/imsanity (pull requests are welcome)


Releases (15 )

Version Release Date Change Log
2.8.2 2022-10-05
  • fixed: mime type error when filename in attachment metadata is incorrect
2.8.1 2022-06-16
  • changed: escape and sanitize more things
  • changed: tighten PHPCS rules used for pre-release testing
2.8.0 2022-05-18
  • added: support for resizing WebP images via ImageMagick
  • changed: update attachment file size to keep WP 6.0 metadata in sync
  • changed: use original image for resizing if full size version was scaled by WordPress
  • fixed: JS scroller during bulk resize causes unexpected behavior
2.7.2 2021-06-03
  • fixed: delete originals might remove full-size version in rare cases
  • fixed: error thrown for image that is 1 pixel larger than max dimensions
2.7.0 2020-11-18
  • changed: bulk resizer will resize all images with no limits, use list mode for selective resizing
  • added: see current dimensions and resize individual images in Media Library list mode
  • added: imsanity_disable_convert filter to bypass BMP/PNG to JPG conversion options conditionally
  • added: imsanity_skip_image filter to bypass resizing programmatically
  • added: ability to remove pre-scaled original image backup (in bulk or selectively)
  • changed: PNG images will not be converted if transparency is found
  • fixed: BMP files not converted when server uses image/x-ms-bmp as mime identifier
  • removed: Deep Scan option is the default behavior now, no need for configuration
2.6.0 2020-05-18
  • added: wp-cli command 'wp help imsanity resize'
  • fixed: adding an image to a post in pre-draft status uses wrong settings/dimensions
2.5.0 2019-12-05
  • added: imsanity_allowed_mimes filter to override the default list of image formats allowed
  • added: imsanity_orientation filter to modify auto-rotation behavior, return 1 to bypass
  • added: imsanity_get_max_width_height filter to customize max width/height
  • added: define network settings as defaults for new sites in multi-site mode
  • fixed: WP threshold of 2560 overrides Imsanity when using larger dimensions
  • fixed: settings link on plugins page broken in some cases
  • fixed: crop filter not applied if max width or height is equal to existing dimension
  • fixed: invalid capabilities used for settings page - props @cfoellmann
2.4.3 2019-08-15
  • changed: default size from 2048 to 1920
  • fixed: WP Import plugin breaks during Media imports
  • fixed: setting a value to 0 causes errors on multi-site
  • fixed: conversion settings not displaying correctly on multi-site
2.4.2 2019-02-12
  • changed: noresize in filename also works in batch processing
  • fixed: error message does not contain filename when file is missing
  • fixed: notice on network settings when deep scan option has not been set before
2.4.1 2018-10-29
  • fixed: bulk resizer scan returning incorrect results
  • fixed: sprintf error during resizing and upload
2.4.0 2018-07-31
  • added: deep scanning option for when attachment metadata isn't updating properly
  • fixed: uploads from Gutenberg not detected properly
  • fixed: some other plugin(s) trying to muck with the Imsanity settings links and breaking things
  • fixed: undefined notice for query during ajax operation
  • fixed: stale metadata could prevent further resizing
2.3.10 2018-02-20
  • fixed: undefined notice for query during ajax operation
  • fixed: stale metadata could prevent further resizing
2.3.9 2017-04-26
  • fixed: PNG to JPG filled transparency with black instead of white
  • fixed: auto-rotation causes incorrect scaling
  • fixed: results box stops scrolling at line 28
  • added: pre-emptive checks on file parameter to prevent read errors with getimagesize()
2.3.8 2017-01-02
  • network settings page only available when plugin is network-activated, please let me know if that sounds crazy to you: https://ewww.io/contact-us/
2.3.7 2016-12-23
  • fixed: uploads to Media Library not detected properly
  • changed: default JPG quality is now 82, to match the WordPress default
  • changed: fr_FR and ru_RU moved to WP.org language packs
  • changed: new maintainer