Add support to send image to server