Added ability to click and produce images