Get WordPress custom image sizes to crop

add_image_size('coach-thumb',190,190,true);
//Add these three lines when you create your custom image size
update_option('coach-thumb' . '_size_w', 190);
update_option('coach-thumb' . '_size_h', 190);
update_option('coach-thumb' . '_crop', 1);

0 Comments

You must be logged in to post a comment.