add segment to image event