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.


  • Автоматично преоразмерява огромните качвани изображения и ги прави по-„нормален“ размер
  • 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
  • След активиране, Imsanity не изисква действия от страна на потребителя
  • Използва вградените функции на WordPress за скалиране на изображения


Интерфейсът на Imsanity е преведен на няколко езика, всеки от които ще се свали автоматично с инсталирането на разширението. За да помогнете с превода на интерфейса на вашия език, посетете


Imsanity се разработва на адре (pull requests са добре дошли)


Originally written by Jason Hinkle (RIP). Maintained and developed by Shane Bishop with special thanks to my Lord and Savior.

Снимки на разширението

  • Панелът с настройки на Imsanity, където се задават максималната ширина и височина
  • Функцията на Imsanity за пакетно преоразмеряване на изображения


Автоматична инсталация:

  1. Отидете в административния панел -> Разширения -> Добавяне на още и потърсете „imsanity“
  2. Натиснете бутона ‘Install’
  3. Натиснете ‘Активиране’

Ръчна инсталация:

  1. Изтеглете
  2. Разархивирайте и качете папката ‘imsanity’ в директорията ‘/wp-content/plugins/’
  3. Активирайте разширението през менюто „Разширения“ в WordPress


Инсталирането на Imsanity ще промени ли вече публикуваните изображения в моя блог?

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 Resize feature allows you to quickly resize existing images.

Защо получавам съобщение за грешка „Файлът не съдържа изображение“?

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

Как мога да кажа на Imsanity да игнорира конкретно изображение, така че да мога да кача снимка с произволни размери и тя да не бъде преоразмерена?

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.

If you are a developer (or have one handy), you can also use the ‘imsanity_skip_image’ filter to bypass resizing for any image.

Does Imsanity compress or optimize my images?

While Imsanity does compress JPG images in the process of resizing them, it uses the standard WordPress compression. Thus, the resulting images are not efficiently encoded and can be optimized further (without quality loss) by the EWWW Image Optimizer and many other image optimization plugins.

Will Imsanity resize images from plugin X, Y, or Z?

If the images can be found in the Media Library of your site, then it is likely Imsanity will resize them. Imsanity uses the wp_handle_upload hook to process new uploads and can resize any existing images in the Media Library using the Bulk Resizer. If the images are not in the Media Library, you can use the EWWW Image Optimizer to resize them.

Защо ми е нужно това разширение?

Photos taken on any modern camera and most cellphones are too large to display full-size in a browser.
This wastes space on your web server, and wastes bandwidth for your visitors to view these files.

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 vistor’s entire screen without scaling so it is still more than large enough for typical usage.

Защо ДА НЕ да използвам това разширение?

You might not want to use Imsanity if you use WordPress as a stock art download site, to provide hi-resolution images for print or use WordPress as a hi-resolution photo storage archive.

Нима самият WordPress вече не преоразмерява изображенията автоматично?

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.

Защо сте изписали Insanity погрешно?

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.

Къде мога да получа помощ?

Въпроси могат да бъдат публикувани във форума за поддръжка на адрес, но ако не получите отговор, моля пишете на


Couldn't find anything with such feature, every other app had a pricing range, setups, but not simple compression. This one made my day
Especially if you have an old blog done by someone who had never heard of 'resizing' or 'optimization' LOL Thank you, bulk resizing is very effective
Exactly what I wanted, checks for all images in one go and resizes for max width or max height given. also checks if resized image is bigger than existing, it will not replace. I had backup issues due to large images and this plugin reduced it on one click. All that and yet it's free. Just flawless.
I had more than 1400 images on my site - most of them way too large, and my site was taking up to 11 seconds to load. The images were really slowing it down... I installed Imsanity, followed the very simple instructions, and in less than an hour my images were resized and the site now loads within 3 seconds. I am absolutely delighted!! Wish I had known about this plugin sooner - I fretted about resizing all my images for a year! The solution was so simple. Thanks for the awesome plugin!
Прочетете всички 256 отзива

Сътрудници и разработчици

“Imsanity” е софтуер с отворен код. Към разширението са допринесли следните хора.


“Imsanity” е преведено на 18 езика. Благодарности на преводачите за техния принос.

Превеждане на “Imsanity” на вашия език.

Имате интерес към разработване?

Преглеждане на кода, разглеждане на SVN хранилище, или абонамент към програмната история (log) чрез RSS.

Списък с промени


  • fixed: delete originals might remove full-size version in rare cases
  • fixed: error thrown for image that is 1 pixel larger than max dimensions


  • changed: clarify text for queue reset button
  • changed: Delete Originals function in bulk/selective resizer will clean metadata if original image is already gone


  • 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


  • fixed: wrong parameter passed to imsanity_attachment_path()


  • added: wp-cli command ‘wp help imsanity resize’
  • fixed: adding an image to a post in pre-draft status uses wrong settings/dimensions


  • 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

Earlier versions

Please refer to the separate changelog.txt file.