KA restricts images to only those in their library through their function getImage(). This demos a "suitable" replacement for that function.