we found a way to get the ImageData object that is currently selected (using the reactOnIconSelection method). So no need for you to change anything.
But one more wish from my side: Is it possible to have a double-click on the little icons? The double-click on the image is perfect, if there is already an image captured. But if there is no image yet, the user still has to use the link because he does not expect to be able to double-click on an empty pane.
Maybe we could solve it by showing the icon as a placeholder for an image that is not yet captured.