Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

SmartCrop

Apraksts

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.

Ekrānuzņēmumi

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

Uzstādīšana

  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.

BUJ

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.

Atsauksmes

Lasīt 1 atsauksmes

Autori un izstrādātāji

“SmartCrop” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “SmartCrop&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

Version 1.0.0

  • Initial release.