Add upload image and populate database