Gets image based on an event.