Possible Duplicate:
How can I make add_image_size() crop from the top?
When generating a thumbnail or featured image the wordpress resize the smallest side and then crop the largest side. I need to make it crop both sides on post thumbnail or on featured image in functions (preferable). Any way to reach this using an wordpress plugin or hack?