added image recording when sent from cilent