Title: WP Image Sizes
Author: aiwatech
Published: <strong>2020 年 10 月 27 日</strong>
Last modified: 2025 年 10 月 23 日

---

搜索插件

![](https://ps.w.org/wp-image-sizes/assets/banner-772x250.jpg?rev=3383532)

![](https://ps.w.org/wp-image-sizes/assets/icon-256x256.jpg?rev=3383532)

# WP Image Sizes

 作者：[aiwatech](https://profiles.wordpress.org/aiwatech/)

[下载](https://downloads.wordpress.org/plugin/wp-image-sizes.1.1.4.zip)

 * [详情](https://cn.wordpress.org/plugins/wp-image-sizes/#description)
 * [评价](https://cn.wordpress.org/plugins/wp-image-sizes/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/wp-image-sizes/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/wp-image-sizes/#developers)

 [支持](https://wordpress.org/support/plugin/wp-image-sizes/)

## 描述

In modern web designs, designers create different sizes of images on the web pages
for attractive layout. If a web page is built using wordpress, a developer has to
register every image size in theme to make sure, if client uploads an image of different
size, it does not break the layout.

With a new WordPress installation, by default it creates three sizes e.g. thumbnail(
150 x 150), medium (300×300), large (1024×1024) which means whenever a new image
will be uploaded, WordPress will keep at least four copies of images on the server,
one original image and 3 cropped image copies based on image sizes.

When developer/designer needs different size of image, they will register more image
sizes e.g. hero, product thumbnail, product large image, team member image etc depending
on design of the page.

Now lets say we have 3 default and 3 custom image sizes defined in theme, and now
whenever a new image will be uploaded, WordPress will create 6 image copies and 
1 original image even we need to use only 1 for a specific area on the website, 
remaining copies will remain on the server and will occupy space. Imagine when we
have lots of posts, pages having different images, how many unnecessary images WordPress
creates on the server which are useless and just eat server space. In case of Woo-
Commerce website if you need to upload a new slider image for home page or a hero
image for about page, it will create a lots of copies including different sizes 
of products image sizes which woo-commerce registers itself.

Ultimately website speed gets effected and server space as well.

To solve this issue, we built a plugin WP Image Sizes this plugin allows user to
decide which image sizes should be created for every image being uploaded through
WordPress.

After installing WP Image Sizes, it will create a setting page from where user can
assign image sizes to each CPT. e.g. user can assign one size for hero/slider CPT,
one size for team member, testimonials. After assigning image sizes to each CPT 
when user will upload a new image, WP Image Sizes will only allow WordPress to create
copies of image sizes which were assigned to the CPT.

In case user tries to upload an image from a Media, it will show options in media
uploader to select which image size user wants and WP Image Sizes will only create
that image size.

WP Image Sizes plugin saves a lot of space on the server and plays a role to make
WordPress website a bit fast.

### 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/)

## 屏幕截图

 * [[
 * Assignment of image sizes to post types
 * [[
 * The image sizes will show in media uploader
 * [[
 * ProFeature – Create batch/bulk image sizes for selected post types
 * [[
 * ProFeature – Delete batch/bulk image sizes for selected post types

## 安装

From your WordPress dashboard

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

## 常见问题

### 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 images it creates?

No, It doesn’t create any cache images and the images created will not be broken
even if the plugin is deactivate/removed.

### Why use it?

WPIS becomes more useful when used with e-commerce plugins like woocommerce, woocommerce
requires to create many image sizes for prdoucts. Whenever a user uploads a non-
product image, wordpress creates all the images for woo-coomerce as well.
 i.e User
uploads an image for slider/banner, WordPress will also create image thumbnails 
for the products. WPIS helps to select only slider/banner size and avoid to generation
of woocommerce versions of the image.

## 评价

![](https://secure.gravatar.com/avatar/30efc797ecc85791332433a8913f24b053d3b16811ac57f6081d56e641e670f1?
s=60&d=retro&r=g)

### 󠀁[Very useful plugin!](https://wordpress.org/support/topic/very-useful-plugin-1346/)󠁿

 [Vladimir Bender](https://profiles.wordpress.org/vovastik/) 2022 年 7 月 24 日

Allows you to reduce the weight of the uploads catalog by selecting only required
thumbnails.

![](https://secure.gravatar.com/avatar/b7c5fe2195b8cf2c35c42d434160af773bb4feeaf85dec28a0676931d955bb52?
s=60&d=retro&r=g)

### 󠀁[Great personalization for images](https://wordpress.org/support/topic/great-personalization-for-images/)󠁿

 [NabDL](https://profiles.wordpress.org/graphpardaz/) 2021 年 1 月 6 日

Great personalization for images Do not hesitate to install the plugin amazing Great
team support

![](https://secure.gravatar.com/avatar/0c9d4e29a3a4635ff9f71f234f7084c1bf9518308f5b68888bf4878b6db57cd7?
s=60&d=retro&r=g)

### 󠀁[Superb Plugin! It saves disk space.](https://wordpress.org/support/topic/superb-plugin-it-saves-disk-space/)󠁿

 [james952](https://profiles.wordpress.org/james952/) 2020 年 12 月 31 日

We have lots of different image sizes for different post types on our website, for
every image WordPress was creating several copies whenever an image was uploaded,
it was filling the server space very quickly. WP Image Sizes saved space by stopping
the creation of unnecessary image copies. I recommend every WordPress website must
have this plugin. Excellent Job👍

![](https://secure.gravatar.com/avatar/057fddc69847c0f62bcd21d629cf6bcf948a53e393842fb450cb77bd399c7be1?
s=60&d=retro&r=g)

### 󠀁[Resize images while maintaining the quality](https://wordpress.org/support/topic/resize-images-while-maintaining-the-quality/)󠁿

 [limecom](https://profiles.wordpress.org/limecom/) 2020 年 12 月 17 日

This is an awesome plugin to lower the file size of the large images on wordpress
website. Highly recommended.

 [ 阅读所有4条评价 ](https://wordpress.org/support/plugin/wp-image-sizes/reviews/)

## 贡献者及开发者

「WP Image Sizes」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ aiwatech ](https://profiles.wordpress.org/aiwatech/)

[帮助将「WP Image Sizes」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-image-sizes)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wp-image-sizes/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/wp-image-sizes/)，或通过[RSS](https://plugins.trac.wordpress.org/log/wp-image-sizes/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wp-image-sizes/)。

## 更新日志

#### 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

## 额外信息

 *  版本 **1.1.4**
 *  最后更新：**7 月前**
 *  活跃安装数量 **50+**
 *  WordPress 版本 ** 5.7.2 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-image-sizes/)
 * 标签
 * [gallery](https://cn.wordpress.org/plugins/tags/gallery/)[image sizes](https://cn.wordpress.org/plugins/tags/image-sizes/)
   [images](https://cn.wordpress.org/plugins/tags/images/)[sizes](https://cn.wordpress.org/plugins/tags/sizes/)
   [thumbnails](https://cn.wordpress.org/plugins/tags/thumbnails/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-image-sizes/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  4 条 5 星评价     ](https://wordpress.org/support/plugin/wp-image-sizes/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/wp-image-sizes/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/wp-image-sizes/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/wp-image-sizes/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/wp-image-sizes/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-image-sizes/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wp-image-sizes/reviews/)

## 贡献者

 *   [ aiwatech ](https://profiles.wordpress.org/aiwatech/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wp-image-sizes/)