implement "flagged" image state