adding height and width to image