fix missing template errors for image/* format