该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

SmartCrop

描述

By default, WordPress uses the center of an image when creating cropped thumbnails. SmartCrop attempts to find and use the most interesting part of an image and centers the cropping on that portion of the image.

This process is entirely automatic and cannot be manually controlled. There are other plugins out there if you wish to manually specify where you want thumbnails to be cropped.

Since this analysis process can be slow on large images, thumbnails are initially center cropped and later asynchronously regenerated to be smartly cropped. This avoids the uploading of new images from being slow. The one side effect of this however is that your browser may load and cache the centered thumbnail before it’s re-cropped.

Want to smartly crop your past image uploads? You can use my Regenerate Thumbnails plugin to trigger that. Make sure to uncheck skipping existing thumbnails.

Need Help? Found A Bug? Want To Contribute Code?

Support for this plugin is provided via the WordPress.org forums.

The source code for this plugin is available on GitHub.

屏幕截图

  • Sample source image.
  • Default thumbnail cropping.
  • Cropped thumbnail with SmartCrop enabled.
  • Another sample source image.
  • Default thumbnail cropping.
  • Cropped thumbnail with SmartCrop enabled.

安装

  1. Go to your admin area and select Plugins Add New from the menu.
  2. Search for “SmartCrop”.
  3. Click install.
  4. Click activate.

That’s it! The plugin will work automatically in the background on any new uploads.

Want to smartly crop your past image uploads? You can use my Regenerate Thumbnails plugin to trigger that. Make sure to uncheck skipping existing thumbnails.

常见问题

Installation Instructions
  1. Go to your admin area and select Plugins Add New from the menu.
  2. Search for “SmartCrop”.
  3. Click install.
  4. Click activate.

That’s it! The plugin will work automatically in the background on any new uploads.

Want to smartly crop your past image uploads? You can use my Regenerate Thumbnails plugin to trigger that. Make sure to uncheck skipping existing thumbnails.

评价

阅读所有1条评价

贡献者及开发者

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

贡献者

帮助将「SmartCrop」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

Version 1.0.0

  • Initial release.