add image_resize_dimensions filter

This filter should make cropping better for portrait images.