Adding height property to image