Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
5  
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

2 Answers 2

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

You can try this plugin: http://wordpress.org/plugins/manual-image-crop

Hope that helps!

share|improve this answer
    
Just posting a link isn't the right way do it - take a look at How to Answer –  ialocin Oct 15 '13 at 21:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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