Implemented sending and storing images on server side.