fix the cropping of large images
remove old upload code
handle errors for upload crop