Added max height as page height for images.