The function will callback when all of the images are loaded (or have failed
to load). The argument passed to the callback is either an array or object
to match the input, and if it is an array, it will be in the same order
as the input array.