Reverted changes made for removing height from image