allow extension of per-image template