Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

SmartCrop

Beskrivning

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.

Skärmdumpar

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

Installation

  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.

Vanliga frågor

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.

Recensioner

Läs 1 betyg

Bidragsgivare och utvecklare

”SmartCrop” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”SmartCrop” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

Version 1.0.0

  • Initial release.