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

WPThumb

描述

WP Thumb is a simple plugin that seamlessly integrates with the WordPress image functions. You can specify height, width and crop values, and an image will be generated, which is then cached for future use.

Features

  • Automatic images resizing, cropping and caching.
  • Ideal for when you want to change the dimensions of default image sizes.
  • Can extend using filters to make use of any of the phpThumb Library functions by manipulating the image object.

Contribution guidelines

see https://github.com/humanmade/WPThumb/blob/master/CONTRIBUTING.md

安装

  1. Upload the ‘WPThumb’ folder to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

The plugin doesn’t work, what do I do?

Visit the Issues page of the plugin homepage at: https://github.com/humanmade/WPThumb

评价

此插件暂无评价。

贡献者及开发者

“WPThumb” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“WPThumb”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

0.10

  • wpthumb shortcode
  • bugfixes + tests

0.9

  • Removed dependancy on PHP Thumb GD Library, much smaller now!
  • Use the new WordPress 3.5 Image classes
  • Will now use Image Magick if available (though not for watermarking and background_fill currently)

0.8

  • Don’t activate on less than PHP 5.2.4

0.7

  • Fix some issues with resizing gifs
  • Unit tests for cropping gifs
  • Improved code formatting and commenting
  • Pipe STDERR to dev/null in phpthumb exec so that error_log isn’t polluted with checks for ImageMagick
  • Fix some readme layout issues
  • Don’t resize if image is already correct dimensions, + unit test

0.5

  • Added more tests
  • Fix minor bugs

0.4

  • Rewrote core functionality to use a Class
  • Added 22 Unit Tests (can be run using WP Unit)

0.3

  • Ability to extend functionality using filters to manipulate image object.

0.2

  • Add some error messages and try to prevent some conflicts with our other plugins.
  • Swap Joe Hoyles helper for HM Core.

0.1

  • Add Joe Hoyles helper.