add image save capability