send image path as a websocket message.