modified upload image tc