adding templates for images