image crop, category is implemented