dezoomify icon indicating copy to clipboard operation
dezoomify copied to clipboard

media.britishmuseum.org

Open supreetvaid opened this issue 1 year ago • 8 comments

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 ?

supreetvaid avatar Dec 20 '23 18:12 supreetvaid

If you don't mind, you can try dezoomify-rs, it works fine with this URL.

Cosmicore avatar Dec 25 '23 03:12 Cosmicore

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

lovasoa avatar Dec 28 '23 10:12 lovasoa

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.

cblackall avatar Jan 09 '24 18:01 cblackall

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!

CameosVatican avatar Jan 12 '24 14:01 CameosVatican

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!

cblackall avatar Jan 13 '24 09:01 cblackall

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?

Yaroslavlskiy avatar Jan 24 '24 21:01 Yaroslavlskiy

Did you try the --accept-invalid-certs command-line option ?

lovasoa avatar Jan 24 '24 22:01 lovasoa

Did you try the --accept-invalid-certs command-line option ?

Yes, that works, thanks so much.

Yaroslavlskiy avatar Jan 25 '24 08:01 Yaroslavlskiy