Add functionality to add images as nodes.