Difference between revisions of "IIIF Linking HTML"

From CETAF Identifiers Wiki
Jump to: navigation, search
Line 8: Line 8:
  
 
[[File:Screenshot from JACQ system showing draggable IIIF icon.png|Screenshot from JACQ system showing draggable IIIF icon]]
 
[[File:Screenshot from JACQ system showing draggable IIIF icon.png|Screenshot from JACQ system showing draggable IIIF icon]]
 +
 +
From the coding perspective such icons are simple to add. An example of the HTML code used is a follows
 +
 +
<pre>
 +
<a target="_blank" href="mirador/?manifest=https://iiif.rbge.org.uk/herb/iiif/E00008781/manifest">
 +
  <img
 +
      src="logo-iiif.png"
 +
      alt="IIIF Manifest"
 +
      title="Click to use IIIF viewer or drag'n'drop to add to open viewer"
 +
      draggable="true"
 +
  >
 +
</a>
 +
</pre>
 +
 +
Note that the HTTP URI in the href of the link must be a link to a viewer page that accepts the ?manifest= parameter. This means the host institution needs to provide a IIIF Viewer instance or access a publicly available instance.
 +
 +
'''Recommendation:''' If an institution has implemented IIIF and has an online catalogue it should include draggable IIIF icons of this form on its catalogue web pages.
 +
  
  
 
Back to [[IIIF| IIIF Home]]
 
Back to [[IIIF| IIIF Home]]

Revision as of 16:07, 29 September 2022

Part of IIIF Pages

Humans are most likely to consume metadata as web pages in collection catalogues. In these situations IIIF data will usually be presented using an embedded IIIF viewer such as Mirador or Universal Viewer. If a zoomable image is all that is required then the OpenSeadragon viewer can be used on its own to present just the Image API, the metadata being presented in the rest of the catalogue page.

When viewers are used to embed resources in pages the user may not be aware that there is a IIIF resource associated with this specimen at all and therefore not aware that the image data could be used in other applications. It is therefore recommended to include a draggable IIIF icon as part of the metadata for the specimen. Clicking on the icon will open the IIIF resource in a new window or tab. Dragging the icon onto a suitable IIIF viewer adds it to that viewer. Figure 3 and Figure 4 give examples of the use of such an icons in the RBGE herbarium catalogue and JACQ systems.

Screenshot from RBGE herbarium collection catalogue

Screenshot from JACQ system showing draggable IIIF icon

From the coding perspective such icons are simple to add. An example of the HTML code used is a follows

<a target="_blank" href="mirador/?manifest=https://iiif.rbge.org.uk/herb/iiif/E00008781/manifest">
  <img 
      src="logo-iiif.png" 
      alt="IIIF Manifest"
      title="Click to use IIIF viewer or drag'n'drop to add to open viewer"
      draggable="true"
   >
</a>

Note that the HTTP URI in the href of the link must be a link to a viewer page that accepts the ?manifest= parameter. This means the host institution needs to provide a IIIF Viewer instance or access a publicly available instance.

Recommendation: If an institution has implemented IIIF and has an online catalogue it should include draggable IIIF icons of this form on its catalogue web pages.


Back to IIIF Home