Add upload image and crop function