complete image uploading