add option to choose order of crop/resize, and allow only height, or only width