Working on making the images clickable. Clicking on an image should remove it and the corresponding curve