Made some changes. An image now shows up in the selected event, but I need to cache them