Skip to content

Generate IIIF 3 image URLs

https://redmine.teklia.com/issues/10642

Requires #1971 (closed)

  • Image.get_thumbnail_url must be updated to use self.server.version to determine whether to use max instead of full to ask for the image in full size, since full was removed in IIIF 3.

  • Element.iiif_url needs to be updated in the same way.

  • Unit tests with IIIF 3 images should show that those changes are applied at least in:

    • Element.iiif_url itself, which has its own tests under documents/tests/test_element.py;
    • RetrieveElement, which uses iiif_url through the very commonly used zone.url;
    • RetrieveManifest, which uses get_thumbnail_url in two different ways;
    • RetrieveAnnotationList, which uses get_thumbnail_url.