Simple demo page to show viewer behavior during resizing of the container. The viewers' container elements are styled with width and height of 100%, with dimensions set by CSS properties on a parent element.

### Pick options to test:

These options apply to both of the demo viewers on the left (top and bottom).

    preserveImageSizeOnResize: false

    preserveImageSizeOnResize: true

    autoResize: true

    autoResize: false

### Click to resize the viewer: