add image preview to testform