First of all my apologies if this is already cover, and please redirect me to the solution if it exists.
WordPress add_image_size() routine calls ultimately for a function called image_resize_dimensions(), which returns the dimensions of the "cropped image" (media.php - http://xref.yoast.com/trunk/nav.html?_functions/media.php.html)
How could it be that the cropping center is always the absolute center of the image?
$s_x = floor( ($orig_w - $crop_w) / 2 );
$s_y = floor( ($orig_h - $crop_h) / 2 );
Due to this, all of my custom thumbnails are resulting cropped around wrong centers. Photos of trees, cars, women return a thumbnail cropped on a hand, a wheel, or any unnecesary space.
WordPress' Editor inside the Multimedia dialog doesn't seem to affect custom thumbnails. Only the WP thumbnail defined in the admin panel.
What can I do? I would like to select the cropping centers of my custom thumbnails, and not to be contrained on cropping them around the gravity center.