This example uses the HTML parameter "zInitialZoom=fill" to ensure that the initial zoom exactly fills the display area.

The default behavior without this parameter is zInitialZoom=fit, which zooms the image so that either the top and bottom or the left and right edges exactly touch the edges of the display area, depending on the relative aspect ratios of the image and the display area.