This extension makes use of IIIF and the Victoria and Albert Museum - Curtain Viewer which is based on OpenSeaDragon, using the curtain-sync plugin for comparing naturally aligned image variants, such as those obtained by multi-spectral imaging, supplied as canvases in a IIIF manifest.
The images presented here are all representations of A Dominican, with the Attributes of Saint Peter Martyr about 1490-1500 by Giovanni Bellini which was presented as part of the Close Examination: Fakes, Mistakes and Discoveries exhibition and is described in more detail here.
This viewer is limited to displaying three images at a time, but one can select any three from the set provided.
For this extension to work the class variable needs to be set to curtain and the file variable needs to give the name of the additional json file including the IIIF collection manifest defining the set of images to present, as shown below.
The details included in the content and content right variable will be presented as previously described, however the data included in the named file, in this case curtain-example-01.json will be processed and displayed in the curtain viewer. Please note that a full resolvable URL is required for this file rather than just the local filename.
As with the other JSON files the curtain viewer data needs to be organised in a series of JSON objects, an example of which is provided below, for a live presentation of the example of code please see the curtain-example-01.json file.
More general details of the variables and formatting required for the version of the IIIF Collection manifest used in the curtain viewer can found here.