created a template for image in the grid