Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream OpenSeadragon patch #17

Open
tokee opened this issue Jun 30, 2016 · 0 comments
Open

Upstream OpenSeadragon patch #17

tokee opened this issue Jun 30, 2016 · 0 comments

Comments

@tokee
Copy link
Owner

tokee commented Jun 30, 2016

Using OpenSeadragon 2.1.1 with the DeepZoom-protocol against IIPImage server that nrtmosaic emulates does not work when tileSources is specified using DZI. This is related to openseadragon/openseadragon#411 and openseadragon/openseadragon#413

A hackish fix is to edit openseadragon.js by replacing the lines

            options.tilesUrl = url.replace(
                    /([^\/]+?)(\.(dzi|xml|js))?\/?(\?.*)?$/, '$1_files/');

with

            options.tilesUrl = url.replace(
                    /([^\/]+)\.(dzi|xml|js)(\?.*|$)/, '$1_files/');

Unfortunately the implications are not clear at this point. This should be investigated and hopefully upstreamed to OpenSeadragon.

tokee added a commit that referenced this issue Jun 30, 2016
…atch (see issue #17).

Temporarily halted by lack of original image size availability in Pyramids, leading to visible rounding errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant