Implement image upload.