add image flags