add image height and width