added height scaling to images