dezoomify-rs icon indicating copy to clipboard operation
dezoomify-rs copied to clipboard

Failure when downloading a json

Open Muddysoil opened this issue 11 months ago • 6 comments

Hi everyone!

I am encountering an issue while trying to download the following json with dezoomify-rs: https://iiif.universumdigitalis.com/memling/iiif/10-00-VIS/info.json

This is the image: https://closertomemling.be/en/artworks/de-rojas

When I paste the json into dezoomify-rs, it shows me all the resolution that I can download, but at the end of downloading, errors shows up, saying it cannot find any tiles.

Does anyone understand the problem why this it happening?

Thank you for the help!

Muddysoil avatar Jan 13 '25 18:01 Muddysoil

hello, The info.json file needs to be altered locally. download it and change the profile line with this one:

"profile" : [ "http://iiif.io/api/image/2/level1.json", { "formats" : [ "jpg" ], "qualities" : [ "native" ] } ],

Then pass it to Dezoomify-rs. (I have only tried level 3)

Benomrans avatar Jan 26 '25 11:01 Benomrans

Thank you immensely for this instruction!

I have one question to ask, since this is the first time I am going to alter a line locally, I do not know how to download the info.json file in order to alter it.

Could you just simply instruct me and maybe others who do not know as well, how this could be done.

I double clicked on the info.json file and it opened on the browser, but nothing happened more than that, maybe because that is not how to open a file.

Thank you!

Muddysoil avatar Jan 29 '25 13:01 Muddysoil

Well, the easiest way is to open it then copy all the text into a Notepad text file and save it with a .json suffix, then would be edited with notepad as well. or download via the browser: Tools > browser tools > developer tools > network > xhr , where it should be located, right click and save response as. After editing just paste the file's local path at Dezoomify-rs.

Benomrans avatar Jan 29 '25 14:01 Benomrans

@Muddysoil Have noticed that Dezoomify-rs would accept text files to fetch data not only iiif json files, so the info file could be a simple text file as well.

Benomrans avatar Jan 31 '25 16:01 Benomrans

This help is precious!

I deeply want to thank you once more!

Muddysoil avatar Jan 31 '25 16:01 Muddysoil

@Muddysoil Have noticed that Dezoomify-rs would accept text files to fetch data not only iiif json files, so the info file could be a simple text file as well.

Yes! I noticed it as well.

Muddysoil avatar Jan 31 '25 16:01 Muddysoil