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

Scissors and Watermark

描述

This plugin adds cropping, resizing, and rotating functionality to WordPress’ image upload and management dialogs. Scissors also allows automatic resizing of images when they are uploaded and supports automatic and manual watermarking of images. Additionally, images that are resized in the post editor are automatically resampled to the requested size using bilinear filtering when a post is saved, which improves the perceived image quality while reducing the amount of data transferred at the same time.

Custom image size supported!

Check settings of this plugin after activation. Watermarking function must be set before using!

Please note that WordPress versions 3.4.2 and older are not supported!

This plugin builds on the plugin Scissors Continued v2.1. Many thanks to huiz, stephanreiter and samuelaguilera.

屏幕截图

  • Cropping a picture from within WordPress
  • Extended media settings for automatic resizing, cropping, and watermarking

安装

Scissors and Watermark is available in the official plugin repository. To make a manual installation, follow these steps:

  1. Extract the contents of the Scissors zip-archive you downloaded.
  2. Upload the extracted scissors folder to your /wp-content/plugins/ directory.
  3. Activate the plugin in the ‘Plugins’ menu in WordPress.
  4. Configure the plugin in WordPress’ media settings.

Automatic resizing of the full-size image at upload-time can be configured in WordPress’ media settings. You can specify a maximum width and a maximum height in pixels for this to take effect (a width/height of 0 disables image resizing in that particular dimension).

Watermarking can also be configured and enabled in WordPress’ media settings: Supply an image that you want to be embedded into newly uploaded images, specify its alignment, size, and margin, and you’re all set!

评价

阅读所有7条评价

贡献者及开发者

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

贡献者

将“Scissors and Watermark”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

TDDO

  • Check function “Scissors TinyMCE Plugin for WordPress”
  • If any of intermediate image size is lower than original(uploaded) image size, this size is hidden from cropping option.
  • Apply watermark to intermediate size without ‘full’ size

3.2.1

  • Temporarily disabled option “Skip watermarking of images” before upload due to “swfu” error.
  • Bug resolved – https://wordpress.org/support/topic/crop-fails-temp-image-of-0kb-created?replies=1.
  • Plugin will re-create all image sizes after the adding a new custom size and crop this image with the new custom size.
    – https://wordpress.org/support/topic/plugin-scissors-and-watermark-custom-images-not-resizing-on-re-crop?replies=1
  • “Reset” watermarks function bug resolved – https://wordpress.org/support/topic/remove-old-watermark?replies=6
  • Chang “Reset” to “Reset watermarks”.
  • Correct depricated function “wp_shrink_dimensions” instead of “wp_constrain_dimensions”.
  • WordPress version 3.4.2 and older is no longer supported. Please, use plugin version 3.0.

3.2

  • Resolved – https://wordpress.org/support/topic/plugin-scissors-and-watermark-notices-and-errors?replies=8
  • Added “Reset” button to watermarking function. It resets watermark on an image.
  • Deleted “Custom” option from watermarking function and added checkboxes for each of every custom image size. This upgrade should resolve these topics:
    – https://wordpress.org/support/topic/plugin-scissors-and-watermark-watermark-for-custom-sizes?replies=1
    – https://wordpress.org/support/topic/plugin-scissors-continued-watermark-logo-appears-twice?replies=1
    – https://wordpress.org/support/topic/plugin-scissors-continued-doesnt-work-on-wp-33?replies=6
  • Tested watermarking function with PNG, JPG and GIF watermark files and it seems that works correctly.
  • Added “Notice message” for set the plugin after activation.

3.1

  • All functions are added to new metabox called “Scissors and Watermark” due to major changes in WP 3.5.
  • Depricated “force a reload of the thumbnail…” at line 174 in file scissors.js.

3.0

  • Remove jquery.pack.js file
  • Change memory_limit to 64M
  • Add a hack for cropping of custom image sizes – scissors_admin_head(), scissors_crop(); thanks to madisn and davidstinemetze
  • Updated jQuery jCrop plugin to latest version 0.9.10
  • Add rounding up to scissorsSelected(id, c) function in scissors.js file
  • Fixed load_text_domain(), thanks to Daniele
  • Replaced attribute_escape() with esc_attr(), thanks to Daniele