Plugin Directory


Imsanity automatically resizes huge image uploads. Are contributors uploading huge photos? Tired of manually scaling? Imsanity to the rescue!

What is Imsanity?

Imsanity is a plugin that automatically resizes uploaded images that are larger than the configured max width/height

1. Will installing the Imsanity plugin alter existing images in my blog?

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.

2. Why aren't all of my images detected when I try to use the bulk resize feature?

Imsanity doesn't search your file system to find large files, instead it looks at the "metadata" in the WordPress media library database. When you upload files, WordPress stores all of the information about the image.

3. Why am I getting an error saying that my "File is not an image" ?

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

4. How can I tell Imsanity to ingore a certain image so I can upload it without being resized?

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

5. Why would I need this plugin?

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 typical usage.

6. Why would I NOT want to use this plugin?

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.

7. Doesn't WordPress already automatically scale images?

When an image is uploaded WordPress keeps the original and, depending on the size of the original, will create up to 3 smaller sized copies of the file (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.

8. Why did you spell Insanity wrong and why does Imsanity girl want to cut me?

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. Imsanity girl cuts because you drive her insane by uploading unecessarily large images for no good reason.

9. How can I hide or remove the Imsanity logo image on the settings page?

If you prefer not to see the logo, add the following line to wp-config.php:


10. Where do I go for support?

Documentation is available on the plugin homepage at http://wordpress.org/tags/imsanity and questions may be posted on the support forum at http://wordpress.org/tags/imsanity


  • Add a network settings to override the individual plugin settings text

Requires: 2.9 or higher
Compatible up to: 4.4.4
Last Updated: 8 months ago
Active Installs: 100,000+


4.8 out of 5 stars


1 of 15 support threads in the last two months have been marked resolved.

Got something to say? Need help?


Not enough data

1 person says it works.
0 people say it's broken.

100,1,1 100,1,1
100,1,1 100,2,2
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1 100,1,1
100,1,1 100,1,1
100,2,2 100,1,1 100,4,4 100,1,1 100,2,2 100,1,1 100,5,5 100,1,1 0,1,0
100,8,8 100,3,3 100,1,1 100,1,1
100,2,2 100,2,2
100,1,1 100,10,10
75,4,3 100,1,1 100,1,1 100,1,1
86,7,6 100,3,3 100,1,1 100,1,1 100,1,1
100,1,1 100,6,6
100,4,4 100,3,3
100,1,1 100,7,7 100,1,1
100,6,6 100,1,1 100,3,3
100,1,1 100,1,1
100,4,4 100,1,1
100,1,1 100,5,5
100,5,5 100,2,2