Here is my image: <http://cameronlimbrick.com/work/visual-art/paintings/item/thoughts>

I would like to keep the existing maximum height, however, when the window is not tall enough to fit the entire image, I would like it to automatically shrink to fit the height. Thanks for your help.