prototype of imageCropper