Smart Thumbnails GW

描述

Are you tired of WordPress creating dozens of unused thumbnail sizes for every image you upload?

By default, WordPress and many themes register multiple image sizes and generate them for every single upload, filling your server with thousands of files you will never use. This wastes disk space and makes managing your media library difficult.

Smart Thumbnails GW solves this problem.

This plugin stops WordPress from creating unnecessary files and gives you precise control. Its intelligent logic generates custom sizes only for Featured Images when a post is saved. Images uploaded into your post content won’t create any extra thumbnails, saving you valuable server space.

Control exactly which sizes are created for each post type (posts, pages, products, etc.), clean up unused images automatically, and regenerate thumbnails only when you need to.

屏幕截图

安装

  1. Upload the smart-thumbnails-gw folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Settings -> Smart Thumbnails to configure the plugin and define your custom image sizes.

常见问题

I defined a new size. Why aren’t my old featured images showing it?

You need to regenerate thumbnails for existing images. Go to the plugin’s settings page, click on the “Regenerate Thumbnails” tab, select the post type, and start the regeneration process.

Will this plugin create sizes for images I upload to the post content?

No. To save server space, this plugin is designed to create custom sizes only for Featured Images. Images uploaded to the content area will not have custom sizes generated.

Can I define sizes for images uploaded directly to the Media Library?

Yes. In the “Image Sizes” tab, you will see a post type called “Media” (attachment). Any sizes you define there will be created for images uploaded directly to the Media Library.

评价

此插件暂无评价。

贡献者及开发者

「Smart Thumbnails GW」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Smart Thumbnails GW」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Smart Thumbnails GW」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

2.2.0

  • Major Architecture Overhaul (Enterprise Standard).
  • Implemented Cursor-based pagination for regeneration (High Performance).
  • Improved Security with strict sanitization and validation.
  • Fixed PHP 8+ compatibility warnings.

2.1.0

  • Refactored code to meet WordPress.org standards.
  • Replaced short prefixes with a unique prefix.

1.0.0

  • Initial release.