added ability to crop image