iteration on image modal