Unable to open [object Object]: HTTP 404 attempting to load TileSource

See original GitHub issue

I see this has been reported before but although the issue was closed it was not resolved as far as I could tell.

<script type="text/javascript">
    var viewer = OpenSeadragon({
	type:       "zoomifytileservice",
        id: 		"openseadragon1",
        prefixUrl: "../js/openseadragon/images/",
	width:      7026,
        height:     9221,
        tileSources: "<see below>"
    });
</script>

I’ve tried the following

tileSources: "../photos/_zoomables/21124/" 403 error

tileSources: "../photos/_zoomables/21124/ImageProperties.xml" 404 error

tileSources: "www.robgray.com/photos/_zoomables/21124/ImageProperties.xml" 404 error

If I just type the fully-qualified URL into the browser I get this

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<IMAGE_PROPERTIES WIDTH="13037" HEIGHT="2926" NUMTILES="828" NUMIMAGES="1" VERSION="1.8" TILESIZE="256"/>

So the file exists and I assume it is in the correct format because I have many of these that used to work with Zoomify before I decided to swap over to Seadragon.

Rob

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
iangilmancommented, Apr 12, 2021

Oh, it’s Zoomify! We support that format as well, but not in the way you were trying. Take a look at:

http://openseadragon.github.io/examples/tilesource-zoomify/

In your case it might be something like:

OpenSeadragon({
    ...
    tileSources: [{
        type:       "zoomifytileservice",
        width:      15870,
        height:     4829,
        tilesUrl:   "/photos/_zoomables/21124/"
    }]
    ...
});

I’m not sure if the tilesUrl is correct… you know your folder structure better than I.

With an image that big, I think it is better to go with a tiled system… 15000 pixels is a bit much to load as a single image.

I would say give a try to getting it working with Zoomify (as above). If it doesn’t work out and you do want to work with DZI, there are a number of options:

http://openseadragon.github.io/examples/creating-zooming-images/

…and yes, you don’t need SparseImageSceneGraph.xml and scene.xml… DeepZoomTools has a bunch of features OSD doesn’t use.

0reactions
iangilmancommented, Apr 21, 2021

Right on. That definitely works. I think the reason the other one wasn’t working is that the browser requires user interaction before going fullscreen. Calling the fullscreen function from within a click handler satisfies that requirement.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTTP 404 attempting to load TileSource - Bountysource
Unable to open [object Object]: HTTP 404 attempting to load TileSource.
Read more >
openseadragon: unable to [Object object]: Error loading image ...
Are you looking to use the IIIF tilesources here? If so you will need to use the IIIF Image Information url for the...
Read more >
Improving Mindat.org : Error attempting to load TileSource
It gives the following error: Unable to open [object Object]: HTTP 404 attempting to load TileSource. I didn't come across this issue with ......
Read more >
Cantaloupe Image Server adjustments (starting Rosetta SP 7.3)
Unable to open [object Object]: HTTP 500 attempting to load TileSource ... HTTP 404 error might be detected.
Read more >
IIIF Tile Source - OpenSeadragon
Unable to open [object Object]: HTTP 0 attempting to load TileSource: https://libimages1.princeton.edu/loris/pudl0001%2F4609321%2Fs42%2F00000001.jp2/info.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found