dezoomify-rs icon indicating copy to clipboard operation
dezoomify-rs copied to clipboard

prlib.ru support

Open rend3r opened this issue 3 years ago • 0 comments

Help me with custom yaml for this site.

Direct link for the tile: https://content.prlib.ru/fcgi-bin/iipsrv.fcgi?FIF=/var/data/scans/public/02501B05-C3F3-48F0-9AF7-35A104C0D981/2250110/2250111_doc1_501AA329-122F-45FD-8D49-8D4281C131E8.tiff&JTL=3,0&CVT=JPEG where is JTL=3,0 has 2 parameters, 3 - max resolution, 0 - tile index. In my case, index goes from 0 to 34 (35 tiles, 5x7 grid, 1062x1638px resulting image, 256x256px sized tile except last column and row).

Now, it looks like:

url_template: "https://content.prlib.ru/fcgi-bin/iipsrv.fcgi?FIF=/var/data/scans/public/02501B05-C3F3-48F0-9AF7-35A104C0D981/2250110/2250111_doc1_501AA329-122F-45FD-8D49-8D4281C131E8.tiff&JTL=3,{{i}}&CVT=JPEG"
x_template: "i % horizontal_tiles"
y_template: "i / horizontal_tiles"
variables:
  - { name: i, from: 0, to: 34 } # Total number of tiles
  - { name: horizontal_tiles, value: 5 } # Number of tiles on the x axis

Sure, I get error

ERROR Dezoomer error: Unable to create the dezoomer: Tried all of the dezoomers, none succeeded.

https://content.prlib.ru/metadata/public/02501B05-C3F3-48F0-9AF7-35A104C0D981/2250110/02501B05-C3F3-48F0-9AF7-35A104C0D981.json could be helpful.

rend3r avatar Mar 26 '22 20:03 rend3r