Skip to content

Reference IIIF Image Server Configuration for Loris

Dickson Law edited this page Jun 29, 2017 · 2 revisions

Loris Local (same system as the Omeka installation)

  1. Grant read access to the files/original for the user account running Loris.
  2. Open the Loris configuration file (default: /etc/loris2/loris2.conf)
    • Under the section loris.Loris, set redirect_canonical_image_request and redirect_id_slash_to_info to True.
    • Under the section resolver, enable the local file system resolver by setting impl to 'loris.resolver.SimpleFSResolver' and src_img_root to the absolute path of the Omeka files/original directory.
    • Restart Apache to complete configuring Loris
  3. In Omeka, sign in as a super user and configure the plugin:
    • In the top menu bar, click "Plugins".
    • Find IIIF Toolkit in the list of plugins and click "Configure".
    • For IIIF Prefix, enter the URL of the Loris server root (the one that would produce This is Loris, an image server that implements the IIIF Image API Level 2. when visited), followed by /{FULLNAME}

Loris Remote (from another system separate from the Omeka installation)

  1. Open the Loris configuration file (default: /etc/loris2/loris2.conf).
    • Under the section resolver, enable the HTTP resolver by setting impl to 'loris.resolver.SimpleHTTPResolver' and source_prefix to the root URL of the Omeka installation plus /files/original.
    • Restart Apache to complete configuring Loris
  2. In Omeka, sign in as a super user and configure the plugin:
    • In the top menu bar, click "Plugins".
    • Find IIIF Toolkit in the list of plugins and click "Configure".
    • For IIIF Prefix, enter the URL of the Loris server root (the one that would produce This is Loris, an image server that implements the IIIF Image API Level 2. when visited), followed by /{FULLNAME}

Clone this wiki locally