Format the image in events