Add width height attributes to the images