dezoomify
dezoomify copied to clipboard
media.britishmuseum.org
Hello everyone,
I am having issues when trying to download https://media.britishmuseum.org/iiif/Repository/Documents/2019_1/14_8/e671c646_1d97_47a5_b175_a9d50091088b/ppa409789.ptif/info.json
and all other British Museum links (links from extrension, both chrome and firefox not working) Dezoomify reports:
Error: Invalid XML:
https://media.britishmuseum.org/iiif/Repository/Documents/2019_1/14_8/e671c646_1d97_47a5_b175_a9d50091088b/ppa409789.ptif/info.json
(https://dezoomify.ophir.dev/zoommanager.js:221)
I don't understand this message. Can someone please help me ?
If you don't mind, you can try dezoomify-rs, it works fine with this URL.
Yes, the problem for the dezoomify online version comes from our hosting provider which does not allow us to make requests to the british museum because of their ssl certificate issues
see https://community.cloudflare.com/t/worker-is-it-possible-to-fetch-data-from-a-server-that-requires-an-intermediate-certificate-download/237416 https://dezoomify.ophir.dev/proxy.php?url=https%3A%2F%2Fmedia.britishmuseum.org%2Fiiif%2FRepository%2FDocuments%2F2019_1%2F14_8%2Fe671c646_1d97_47a5_b175_a9d50091088b%2Fppa409789.ptif%2Finfo.json&cookies=cf_ob_info%3D526%3A83c9159dd72cd619%3ACDG%3B%20path%3D%2F%3B%20expires%3DThu%2C%2028-Dec-23%2010%3A23%3A20%20GMT%2C%20cf_use_ob%3D443%3B%20path%3D%2F%3B%20expires%3DThu%2C%2028-Dec-23%2010%3A23%3A20%20GMT
Bad news about the British Museum problem. Any workarounds? Its a pity because its wonderful source of imagery. I love online Dezoomify by the way; its a real asset for my studies.
Hi @cblackall
I downloaded the application @Cosmicore mentioned above: dezoomify-rs, for which big thanks. It worked a dream with a tiled image from the British Museum that I successfully downloaded just a few moments ago.
@lovasoa, you've created a fabulous extension and application – thank you so much!
Hi @CameosVatican
Thanks so much for the tip. Even this old command-line coward got it working successfully! And yes, @lovasoa is indeed a treasure!
I seem to be getting a similar certificate problem using the latest version of dezoomify-rs.
Enter an URL or a path to a tiles.yaml file:
https://media.britishmuseum.org/iiif/Repository/Documents/2019_1/14_8/e671c646_1d97_47a5_b175_a9d50091088b/ppa409789.ptif/info.json
ERROR Dezoomer error: Unable to create the dezoomer: Tried all of the dezoomers, none succeeded. They returned the following errors:
- custom: The 'custom' dezoomer cannot handle this URI
- google_arts_and_culture: The 'google_arts_and_culture' dezoomer cannot handle this URI
- zoomify: The 'zoomify' dezoomer cannot handle this URI
- generic: The 'generic' dezoomer cannot handle this URI
- pff: The 'pff' dezoomer cannot handle this URI
- IIPImage: The 'IIPImage' dezoomer cannot handle this URI
- nypl: The 'nypl' dezoomer cannot handle this URI
- iiif: Unable to download required data: network error: error sending request for url (https://media.britishmuseum.org/iiif/Repository/Documents/2019_1/14_8/e671c646_1d97_47a5_b175_a9d50091088b/ppa409789.ptif/info.json): error trying to connect: invalid peer certificate: UnknownIssuer
- deepzoom: Unable to download required data: network error: error sending request for url (https://media.britishmuseum.org/iiif/Repository/Documents/2019_1/14_8/e671c646_1d97_47a5_b175_a9d50091088b/ppa409789.ptif/info.json): error trying to connect: invalid peer certificate: UnknownIssuer
- krpano: Unable to download required data: network error: error sending request for url (https://media.britishmuseum.org/iiif/Repository/Documents/2019_1/14_8/e671c646_1d97_47a5_b175_a9d50091088b/ppa409789.ptif/info.json): error trying to connect: invalid peer certificate: UnknownIssuer
dezoomify-rs expects a zoomable image meta-information file URL. To find this URL, you can use the dezoomify browser extension, which you can download at
- https://lovasoa.github.io/dezoomify-extension/
If this doesn't help, then your image may be in a format that is not yet supported by dezoomify-rs.
You can ask for a new format to be supported by opening a new issue on https://github.com/lovasoa/dezoomify-rs/issues
Enter an URL or a path to a tiles.yaml file:
Am I doing something wrong here?
Did you try the --accept-invalid-certs
command-line option ?
Did you try the
--accept-invalid-certs
command-line option ?
Yes, that works, thanks so much.