add template with head image