Finish image upload functionality