Imsanity automatically resizes huge image uploads. Are contributors uploading huge photos? Tired of manually scaling? Imsanity to the rescue!
Imsanity automatically resizes huge image uploads down to a size that is
more reasonable for display in browser, yet still more than large enough for typical website use.
The plugin is configurable with a max width, height and quality. 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 selectively resize previously uploaded images
to free up disk space.
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
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
Imsanity is developed at https://github.com/nosilver4u/imsanity (pull requests are welcome)
Imsanity is a plugin that automatically resizes uploaded images that are larger than the configured max width/height
Activating Imsanity will not alter any existing images. Imsanity resizes images as they are uploaded so
it does not affect existing images unless you specifically use the “Bulk Image Resize” feature on
the Imsanity settings page. The “Bulk Image Resize” feature allows you to selectively resize existing images.
Imsanity doesn’t search your file system to find large files, instead it looks at the “metadata”
in the WordPress media library database. To override this behavior, enable deep scanning.
WordPress uses the GD library to handle the image manipulation. GD can be installed and configured to support
various types of images. If GD is not configured to handle a particular image type then you will get
this message when you try to upload it. For more info see http://php.net/manual/en/image.installation.php
You can re-name your file and add “-noresize” to the filename. For example if your file is named
“photo.jpg” you can rename it “photo-noresize.jpg” and Imsanity will ignore it, allowing you
to upload the full-sized image.
Optionally you can temporarily adjust the max image size settings and set them to a number that is
higher than the resolution of the image you wish to upload
Photos taken on any modern camera and even most cellphones are too large for display full-size in a browser.
In the case of modern DSLR cameras, the image sizes are intended for high-quality printing and are ridiculously
over-sized for display on a web page.
Imsanity allows you to set a sanity limit so that all uploaded images will be constrained
to a reasonable size which is still more than large enough for the needs of a typical website.
Imsanity hooks into WordPress immediately after the image upload, but before WordPress processing
occurs. So WordPress behaves exactly the same in all ways, except it will be as if the contributor
had scaled their image to a reasonable size before uploading.
The size limit that imsanity uses is configurable. The default value is large enough to fill
the average vistors entire screen without scaling so it is still more than large enough for
You might not want to use Imsanity if you use WordPress as a stock art download
site, provide high-res images for print or use WordPress as a high-res photo
storage archive. If you are doing any of these things then most likely
you already have a good understanding of image resolution.
When an image is uploaded WordPress keeps the original and, depending on the size of the original,
will create up to 4 smaller sized copies of the file (Large, Medium-Large, Medium, Thumbnail) which are intended
for embedding on your pages. Unless you have special photographic needs, the original usually sits
there unused, but taking up disk quota.
Imsanity is short for “Image Sanity Limit”. A sanity limit is a term for limiting something down to
a size or value that is reasonable.
Questions may be posted on the support forum at https://wordpress.org/support/plugin/imsanity but if you don’t get an answer, please use https://ewww.io/contact-us/.
Please refer to the separate changelog.txt file.