Use the image directory name as the tag.

Simplify the derivation of the build context.
Rename "build" to "src2html".