Added width and height attributes to template