Added adding image to server (doesn't work yet)