You cannot attach an image or other file to a template. Instead, attach the file to another page, and insert it into the body of the template.

For example: