You can encode image in base64, so the server will send the image without the need to read it from another source like the file system