image with template-level resource