add height/width to image