events: emit when an image is loaded.