User:Jheald/IIIF 180815

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Notes for part of IIIF community conference call, 15 August 2018 [1][2]

Current IIIF (test) service and use of IIIF on Wiki projects, with a look into the immediate future

A video of me talking through the content of this page and demonstrating the links is available at [3], from 1:45 to 25:30

Commons IIIF trial service

[edit]

Installed by Daniel Schwen (User:Dschwen)

Service isn't provided by MediaWiki's built-in maintained image infrastructure and scalers, but as a third-party service running on the Toolserver, aka WMF Labs, WMF's cluster for user-provided bots, scripts, and services


"My script pulls the images from commons, uses VIPS to generate the multiresolution TIF pyramid and then uses IIP to serve the tiles", according to Daniel [6].
Initial processing of an image on first request can take some seconds, then once served, the image pyramid is cached for future use. Not clear how well the service might stand up to some really heavy and wide use of a large number of images all for the first time, but it seems to work well for the current amount of image zooming. There can also be occasional issues of availability and resets with the Toolserver service; and in the past from time to time the cache of image pyramids has sometimes suffered some corruption; but currently seems to be okay.
In future it is possible that the service may be more integrated with Commons's main production image service. (Brion?)

Main use of IIIF endpoint from Wiki communities so far has been to display crops of areas of interest of paintings with items on Wikidata, WMF's triplestore for representing facts about the world.

Syntax: <Wikidata item for painting> depicts (P180) <Wikidata item for thing depicted>, qualifier relative position within image (P2677) -> "pct:82.5,53.7,17.6,16.3"

For example:


Crops cannot yet be displayed on Wikipedia pages, but can be shown by external tools,


However, rather few details as yet have this position data:

Future: depicts (P180) on Commons, with P2677 qualifiers

[edit]

Currently depicts (P180) and relative position within image (P2677) can only be used on Wikidata items (ie for a painting considered as an entity in its own right).

But from early next year (2019), it will be possible to add such statements to individual images on Commons.

(This is the "Structured Data for Commons" project, to provide Commons with its own "wikibase for Commons" (more informally: "CommonsData"), analogous to Wikidata, but for images on Commons).

Annotations on Commons: currently provided/edited via ImageAnnotator tool (see also usage guideline)

  • Information will be derived both from information recorded about the image specifically (on CommonsData), and information recorded generally for anything it represents (on Wikidata)
-- so write information about a painting once on Wikidata, and it becomes accessible on potentially many images on Commons representing that painting.
(Some coordinate mapping may be required).

Future: IIIF manifests for/from Wikipedia pages, Commons categories, Wikidata & CommonsData queries, etc.

[edit]

From queries and Wikidata:

  • Example: https://manducus.net/ can create an IIIF manifest for a painting if it has an item on Wikidata and an image on Commons
  • we have already seen how Crotos gathers information from Wikidata queries


From Wikipedia pages and Commons categories:

  • Clicking an image on the page (eg) currently leads to a slideshow of images, with information, in MediaViewer (if not disabled)
-- could this also be provided as an IIIF manifest ? (initially, perhaps, as a user-script, adding a 'IIIF download' button at the page top).
  • Tom Crane gives an example based on the en-wiki page for en:Los caprichos by Goya, translated into an IIIF manifest: [7], and then viewed in the Wellcome/British Library Universal Viewer: [8],
commenting "it's not that hard" [9]; code here: [10]

Future: Other types of content

[edit]
[edit]