More sanity checking for new image loader.