Upload pictures to the server