add attachment image to recored