How to display original image size in openseadragon?

Viewed 2692

I am trying to implement openseadragon zoom plugin in my angular4 application.

Everything is working but i can't able to show the original image size,openseadragon is restricting image size and setting image in center if i use like below,

const viewer = OpenSeadragon({
            id                 : 'seadragon-viewer',
            prefixUrl          : '//openseadragon.github.io/openseadragon/images/',
            tileSources        : this.primaryPicture.hiResInformation,
            showFullPageControl: false,
            showNavigator      : true,
            homeFillsViewer    : false,
        });

If i use homeFillsViewer : true then image is fitting into the div but image is not proper like cropped image.

I want to display original size of image.

Any solutions will be helpful, thank you in advance.

2 Answers
Related