add height and width of image