=== WP Image Sizes ===
Contributors: aiwatech
Tags: images, sizes, thumbnails, gallery, image sizes, media uploader, media library, featured image, multiple image creation, selected image sizes, bulk image sizes, disable image sizes, prevent unnecessary images
Requires at least: 5.7.2
Requires PHP: 7.2
Stable tag: 1.1.5
Tested up to: 7.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Take control of the image sizes WordPress generates. Pick only the sizes you actually use, per post type, and reclaim wasted server space.

== Description ==

Every time you upload an image, WordPress doesn't just store your file — it generates a separate cropped copy for every registered image size. A fresh install already creates three (thumbnail, medium, and large) on top of the original, so a single upload becomes four files on your server.

Themes and plugins add many more. A typical site might register hero, slider, product thumbnail, team member, and testimonial sizes — and WooCommerce adds several of its own. With six registered sizes, one upload turns into seven files, even when the page only ever displays one of them. The rest sit on disk doing nothing but consuming space.

Multiply that across hundreds of posts, pages, and products and the waste adds up fast: bloated storage, slower backups, and longer upload processing. It's especially painful on WooCommerce sites, where uploading a single banner or hero image also generates the full set of product thumbnail sizes you'll never use for that image.

**WP Image Sizes fixes this by letting you decide which sizes WordPress is allowed to create.**

* **Per post type control** — Assign the exact image sizes that matter to each post type from a simple settings page. A slider post type might only need one large size; testimonials might only need a thumbnail.
* **Choose sizes at upload time** — When you add media, the uploader shows the available sizes so you can pick what gets generated for that specific upload.
* **Disable thumbnails entirely** — Skip generating any additional sizes for a post type or a single upload when you only need the original.
* **No lock-in** — WP Image Sizes never caches or alters your files. Any images already generated stay intact, even if you deactivate or remove the plugin.

The result is a leaner media library, less wasted disk space, and a faster, lighter WordPress site.


== Installation ==

From your WordPress dashboard

1. **Visit** Plugins > Add New
2. **Search** for "WP Image Sizes"
3. **Install** WP Image Sizes from search results
3. **Activate** WP Image Sizes after plugin has been installed
4. **Click** on the settings menu item "WP Image Sizes" and assign image sizes to every post types

== Frequently Asked Questions ==

= Does it have a pro version? =
Yes, a pro version is available with more features [See here](https://aiwatech.com/wp-image-sizes).

= Does it cache the images it creates? =
No. WP Image Sizes doesn't create any cached copies, and the images it does generate stay intact even if the plugin is deactivated or removed.

= Why use it? =
It's especially valuable alongside e-commerce plugins like WooCommerce, which registers many product image sizes. By default, every upload generates all of them — even when the image has nothing to do with a product. For example, uploading a slider or banner image still creates the full set of WooCommerce product thumbnails. WP Image Sizes lets you generate only the slider/banner size and skip the WooCommerce versions you don't need.


== PRO ==
WP Image Sizes plugin is also available in a professional version which includes more features [See here](https://aiwatech.com/product/wp-image-sizes-pro/)


== Screenshots ==
1. Assignment of image sizes to post types
2. The image sizes will show in media uploader
3. ProFeature - Create batch/bulk image sizes for selected post types
4. ProFeature - Delete batch/bulk image sizes for selected post types

== Changelog ==
= 1.1.5 =
* Moved the settings page to a top-level admin menu with its own icon
* Added a "Settings" link to the plugin row on the Plugins page
* Compatibility check with WordPress 7.0
= 1.1.4 =
* Compatibility Check with Wordpress 6.8.3
= 1.1.3 = 
* Compatibility Check with Wordpress 5.7.2
= 1.1.2 = 
* Compatibility fix with pro version when generating runtime images
= 1.1.1 = 
* Code changes for compatibility with pro version

= 1.1.0 = 
* Media uploader image size checkboxes position changed
* Media uploader image size checkboxes loading approach changed

= 1.0.8 = 
* Option to disable all image sizes added to wpis settings

= 1.0.7 = 
* Bug fixes

= 1.0.6 = 
* Disable sizes fixes

= 1.0.4 = 
* Media upload image sizes bug fix
* Option to disable all image sizes added

= 1.0.3 = 
* Session storage changed to fix register_globals conflict

= 1.0.2 = 
* Plugin core changes
* Wordpress 5.5.3 compatibility

= 1.0.1 = 
* Session unset on settings save
* Redirect implemented on plugin activate

= 1.0.0 = 
* Initial release of WP Image Sizes