Serialize images in external data of events