file upload : crop image before to process it