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

Frick Collection NYC #374

Open MrChrisWin opened 4 years ago

MrChrisWin commented 4 years ago

Site name and description: Frick Collection - exceptional works of art assembled by the Pittsburgh industrialist Henry Clay Frick. There are quite a few famous artworks from Vermeer and other famous artists.

https://collections.frick.org/objects/275/officer-and-laughing-girl

I tried https://collections.frick.org/internal/media/zoomifydispatcher/7337;jsessionid=5D732C901C6290D5E872C1B55ECC1C2E/TileGroup1/5-{{X}}-{{Y}}.jpg

I also tried clicking on IIIF logo which opens up a new window. The image here seems smaller than the one on main page.

Uncaught Error: Unable to load tile.

Check that your internet connection is working and that you can access this url: https://collections.frick.org/internal/media/zoomifydispatcher/7337;jsessionid=5D732C901C6290D5E872C1B55ECC1C2E/TileGroup1/5-0-1.jpg

(https://ophir.alwaysdata.net/dezoomify/zoommanager.js:195)

lovasoa commented 4 years ago

The URL to use is https://collections.frick.org/internal/media/zoomifydispatcher/7337;jsessionid=5D732C901C6290D5E872C1B55ECC1C2E/ImageProperties.xml . When you see that tiles URLs contain TileGroup, you can replace TileGroup and everything that follows by ImageProperties.xml to get the image metadata URL to pass to dezoomify.

https://dezoomify.ophir.dev/dezoomify/dezoomify.html#https://collections.frick.org/internal/media/zoomifydispatcher/7337;jsessionid=5D732C901C6290D5E872C1B55ECC1C2E/ImageProperties.xml

lovasoa commented 4 years ago

canvas

brushingflamboyant commented 4 years ago

This method seems to work with Vermeer but not with everything. For example this one : https://collections.frick.org/objects/161/the-virgin-and-child-with-st-barbara-st-elizabeth-and-ja

I tried to replace "TileGroup" and the rest after it with "ImageProperties.xml" but an error message occured (invalid XML) : https://collections.frick.org/internal/media/zoomifydispatcher/15265/TileGroup0/4-5-5.jpg https://collections.frick.org/internal/media/zoomifydispatcher/15265/ImageProperties.xml

Do we have to replace with something else?

lovasoa commented 4 years ago

Indeed, it looks like they do not make the metainformation URL available. You can still use the dezoomify browser extension on the IIIF version of the image (just click the "iiif" button on the image).

brushingflamboyant commented 4 years ago

Thank you, it worked but strangely the image is not fully loaded, there is a "small" part of the image in the upper right corner stuck in it.

Capture d’écran