Court order bans ‘memes’ that use photo of local community activist