Updated templates to correctly render local images