width and height attributes to the img tags added