A simple script that loads images and invokes a callback when loading finished.