WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have over 6 image sizes, Therefore WP cannot satisfy every size with proper cropping as some images get their head cut off and some don't.

Is there a plugin that lets me choose the cropping area of each size (including custom sizes)?

To further explain this, I imagine it'd just let me move the crop selection for every single size.

Is there such solution?

share|improve this question
Did you try Post Thumbnail Editor? – its_me May 19 '12 at 17:15
I'm not sure if this is an exact duplicate but will mark it as such... Check the code provided by bradt in his answer to this question: wordpress.stackexchange.com/q/20923/12615 – brasofilo May 20 '12 at 13:48
@Aahan Krish Thank you! that plugin was very helpful, Can you post an answer so I can accept yours? – Ryan May 22 '12 at 17:30
I think that's what you are looking for: wordpress.org/plugins/manual-image-crop – user38908 Oct 2 '13 at 9:16
You can use this plugin https://wordpress.org/plugins/yoimages/ (I'm the author of the plugin) – matteo.cajani Feb 2 '15 at 13:26

You can customize or change WordPress image sizes using this function: http://codex.wordpress.org/Function_Reference/add_image_size

<?php add_image_size( $name, $width, $height, $crop ); ?>

The $crop parameter can be set to false for proportional or true for hard crop (it will hard crop from the center).

If you use this function on already existing images you will need to regenerate them.

If you want to manually crop individual images you can do this by default in the WordPress image editor, or use a plugin like http://wordpress.org/extend/plugins/tags/crop

If you are not comfortable with the above function you can use a plugin like http://wordpress.org/extend/plugins/simple-image-sizes/

To manually crop each image, click "edit" under the image in the pop-up image editor and you will see this.

enter image description here

To programmatically change the crop area, you will have to use a technique seen in brasofilo comment link.

share|improve this answer
Hi, I'm aware of that, but I'm looking to manually choose the cropping area for each image. – Ryan May 22 '12 at 17:29
I updated my answer, it is unclear if you want to manually crop each image , or bulk change the crop area through a function. – Wyck May 22 '12 at 18:47

protected by toscho Feb 2 '15 at 14:09

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.