finish image upload