add image with diagram