try to send image to server