Hermitage

Demo

Hermitage adjusts image viewer when you resize browser window.

You can set limit of image scaling (in pixels):

hermitage.minimumSize.width = 200
hermitage.minimumSize.height = 200

Try to resize browser window now!