relativeize paths for templates/images

Signed-off-by: William Rockwood <wrockwood@tadl.org>