Relationship between media technologies and nationalism

Explain the relationship between media technologies and nationalism according to the imagined communities theory formulated by Benedict Anderson. And also how this is related to globalization.