added Crop function to imageServer