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

Failure when downloading a json #272

Open
Muddysoil opened this issue Jan 13, 2025 · 6 comments
Open

Failure when downloading a json #272

Muddysoil opened this issue Jan 13, 2025 · 6 comments

Comments

@Muddysoil
Copy link

Muddysoil commented Jan 13, 2025

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 Muddysoil changed the title New website with Hans Memling's masterpieces: Please help! Strange behavior of dezoomify-rs while downloading from a new website with Hans Memling's masterpieces. Jan 14, 2025
@Muddysoil Muddysoil changed the title Strange behavior of dezoomify-rs while downloading from a new website with Hans Memling's masterpieces. Strange behavior by dezoomify-rs while downloading from a new website with Hans Memling's masterpieces. Jan 14, 2025
@Muddysoil Muddysoil changed the title Strange behavior by dezoomify-rs while downloading from a new website with Hans Memling's masterpieces. Failure when downloading a json Jan 15, 2025
@Benomrans
Copy link

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)

@Muddysoil
Copy link
Author

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!

@Benomrans
Copy link

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
Copy link

@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.

@Muddysoil
Copy link
Author

This help is precious!

I deeply want to thank you once more!

@Muddysoil
Copy link
Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants