The WissKI IIP Image module implements the IIPImage server system for web-based streamed viewing and zooming of high-resolution images. You can add IIIF-Images from different sources, which makes it a good tool for comparative image analysis.
Prerequisites
- Colorbox with all its dependencies has to be installed like described in the chapter Colorbox installation.
- IIPImage Server needs to be installed and running at a accessable iip-image-server-uri ... is the adress where you can reach the IIPImage server webapp. It has to be something with /fcgi-bin/iipsrv.fcgi at the end, i.e. http://wisski.com/fcgi-bin/iipsrv.fcgi or http://localhost/fcgi-bin/iipsrv.fcgi. Ensure, that it's at same domain as your Drupal instance to avoid cross origin failures. as described in chapter IIP Image Server.
- IIPMooViewer Library can be downloaded via the link and must be saved and unziped in root-dir ...is the directory, where your Drupal website files and folders are stored (core, modules, sites, themes, .htaccess etc.), if you follow the recommended project structure it's the web folder of your project directory, i.e. /var/www/html/wisski.com/web, or C:/xampp/htdocs/wisski.com/web. /libraries/iipmooviewer, so that the path ../libraries/iipmooviewer/iipmooviewer-2.0-min.js exists.
- An Entity with at least one image field.
Installation
If you're using WissKI inside the virtual Lubuntu image, or installed WissKI with the IIP-Image option via the default server setup respectively via the docker setup, you already have Colorbox and all dependencies installed and you can skip these part.
Go to Manage Extend and check WissKI IIP Image View Click Install.
Usage
Go to Manage Configuration Pathbuilders and in the row of your wisski-entity ... is an informational object about which information is to be stored or processed. The object can be material or immaterial, concrete or abstract, it is the type of objects or the classification of a group of things, i. e. Bobby (Gorilla gorilla) or Plesiosaurus dolichodeirus could both be individuals of the WissKI entity Specimen. with an image field, click Edit. Unfold the Options menu of the Image path by clicking the caret and select Configure Field. Set the Type of formatter for field to WissKI IIP Image Viewer. Save.
Check result
Follow the path to WissKI Navigate, select your wisski-entity ... is an informational object about which information is to be stored or processed. The object can be material or immaterial, concrete or abstract, it is the type of objects or the classification of a group of things, i. e. Bobby (Gorilla gorilla) or Plesiosaurus dolichodeirus could both be individuals of the WissKI entity Specimen. and then a wisski-individual ... is a concrete instance of a wisski-entity. You create new individuals at WissKI Create. Afterwards they appear at WissKI Navigate under the appropriate WissKI entity, like Bobby (Gorilla gorilla). with the newly configured WissKI IIP Image Viewer and click on the image. The IIP Image Viewer should open and you can zoom and drag scroll with your mouse.
Example screencast