finish upload image