I am trying my hands with WP add_image_size method and this is the entry in my theme's function.php
if ( function_exists( 'add_theme_support' ) ) {
add_theme_support( 'post-thumbnails' );
set_post_thumbnail_size( 100, 65); // default Post Thumbnail dimensions
}
if ( function_exists( 'add_image_size' ) ) {
add_image_size( 'home_page_featured', 200, 225, true);
}
I tried with both parameters of crop factor but seems nothing is working for me.
I am uploading Dimensions 628x355 and want that beside all OOB image size, home_page_featured should be get created with dimensions 200x225, but WP is generating it as 200x113
i tried with Regenerate Thumbnails plugin but seems like it is not working, not sure where i am doing wrong.
add_image_size('home_page_featured',200,225,true);works ok for me, WP 3.5 and TwentyTwelve: uploading a 628x355 image generates a 200x225 thumbnail. Check if debugging outputs information and do a full troubleshooting. – brasofilo Jan 13 at 13:33