lovasoa / dezoomify

Dezoomify is a web application to download zoomable images from museum websites, image galleries, and map viewers. Many different zoomable image technologies are supported.
https://dezoomify.ophir.dev
GNU General Public License v2.0
657 stars 71 forks source link

Further question about IIIF image #56

Open dancorpse opened 8 years ago

dancorpse commented 8 years ago

For this site: http://www.bavarikon.de/object/bav:BSG-OBJ-0000000000000117, I think it's IIIF image so I followed this article: https://github.com/lovasoa/dezoomify/wiki/How-to-download-full-resolution-images-from-an-IIIF-compatible-server, and the full image url should be like: http://www.bavarikon.de/iiif/BSG-OBJ-0000000000000117/full/full/0/native.jpg, but the images do not showed. Am I anything wrong? Thanks.

lovasoa commented 8 years ago

Yes, they forbid access to full image. This means we may have to write a dezoomifier even for IIIF.

lovasoa commented 7 years ago

Last commit added support for IIIF: 23624e2189a8e582ac9ca1e1d2a4d4dc1a1166eb

But this site seems to be checking referrer when delivering tiles, and thus still doesn't work.

navydinosaur commented 7 years ago

I hope I'm not posting this in the wrong place, but I think my issue is related. Is this site also checking referrer? http://maps.nls.uk/imgsrv/iipsrv.fcgi?iiif=/10324/103247211.jp2/full/full/0/native.jpg

If I select the IIIF option, I get the "Error: No IIIF URL found" message. If I try the automatic option, I get the "Error: Unable to find a proper dezoomer for the given URL" message. I've also tried the script unsuccessfully, and can give details wherever it's appropriate.

Thanks for any help.

lovasoa commented 7 years ago

How to use dezoomify with IIIF

When your image displays, look at the network requests, and find the small json meta-information file that should be loaded first. It is that file that you should give to dezoomify.

If you can't find it from your network requests, you can reconstruct its URL. Just add /info.json after the file name in the URL.

In your case:

http://maps.nls.uk/imgsrv/iipsrv.fcgi?iiif=/10324/103247211.jp2/info.json

navydinosaur commented 7 years ago

Thank you very much for the quick response, and sorry for the confusion on my end! I was following the instructions on this page: https://github.com/lovasoa/dezoomify/wiki/How-to-download-full-resolution-images-from-an-IIIF-compatible-server and must have misunderstood the URL scheme.

The image successfully loaded with the addition of "/info.json", but in Safari there was no option to save it, in Firefox I only saw a blank page (which I tried to fix with the 'max-alloc-size' change -- unsuccessfully), and in Chrome, nothing happened when I selected "Save image as". Is there any way to save a successfully dezoomed and loaded image if none of my browsers are working?

Thanks again.