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
674 stars 75 forks source link

Support for the World Digital Library (WDL) #5

Closed lovasoa closed 9 years ago

lovasoa commented 9 years ago

Question initially submitted by @Horemheb in #1 :

I tried to find the right link to submit to seadragon through the dezoomify web page... but I got no answer... how can I find how the world digital library files its images.. i.e. If I want to download the bible from this page... http://www.wdl.org/en/item/9910/view/1/230/ can anybody give me any hint? Thanks :)

lovasoa commented 9 years ago

The World Digital Library uses openseadragon, an open source implementation of the Microsoft DeepZoom format, which is already implemented in dezoomify.

All you have to to is find the .dzi file that dezoomify needs. In order to do so, open the source code of the page and look for dziTemplate. In the case of the example you gave, it gives me the following line:

                dziUrlTemplate: "/media/9910/service/dzi/1430173705/{group}/{index}.dzi",

In the URL, replace {group} by the volume number (1 in your case) and index by the page number (230 in your case), and add http://www.wdl.org at the beginning to form a complete URL. For your example, it gives: http://www.wdl.org/media/9910/service/dzi/1430173705/1/230.dzi.

In dezoomify, copy and paste this URL, and choose Seadragon (Deep Zoom Image) in the options. Click submit. Et voilà!

lovasoa commented 9 years ago

I finally implemented it. You can try it on http://ophir.alwaysdata.net/dezoomify .

Horemheb commented 9 years ago

Thanks! U'r amazing as usual! I was missing the "dzi" completion of the sentence.

Horemheb commented 9 years ago

I have tried your way to find the dezoomify working link but it's always rather hard. I am having probs with Polona. I tried to get the source code, as I tried to compose the web link in different ways in the dezoomify blank space of ur page but.. no way.. This is the page I faced and no result. LOL http://polona.pl/item/285246/26/