Add an optional command-line argument specifying a "safe" local directory tree, and allow references to external images in that directory tree.