A member loyal to the Islamic State waves a flag