add template with img