Add callbacks to image.js

As discussed with Ian earlier on, would we make the callbacks available on image.js please? Thanks.