I've defined a custom image size like this:

add_image_size( 'home-promo', 456, 600, TRUE );

As you can see I've set the hard-crop parameter to TRUE, however it's still not cropping to this exact size. What am I doing wrong?

  • What are the dimensions of the image you are trying it on? What are the dimensions of resulting resized image?
    – Rarst
    Mar 10, 2015 at 10:05

1 Answer 1


I thing, u need new php Class. Wordpress not support this function correct, cause wordpress try crop proportionaly whatever you do.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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