A Djatoka TileSource for Seadragon
Based in spirit from the JS component of Kevin Clarke's FreeLib-Djatoka
Instead of "synthesizing" the info for DZI, we create the path to access Djatoka directly, and obtain different regions for the tiles.
Reverse proxy config: We make the assumption that we (reverse) proxy Djatoka, to fix the same-origin issue.
For Apache, with Drupal running on the same box as Apache, a couple lines like:
ProxyPass /adore-djatoka http://localhost:8080/adore-djatoka ProxyPassReverse /adore-djatoka http://localhost:8080/adore-djatoka
in the Apache config somewhere (either the main apache.conf, httpd.conf, or in and arbitrarily named
*.conf in your Apache's conf.d directory should suffice to establish the reverse proxy.
In Debian derived systems one will need to create location entries for each proxy or remove the Deny from All in mod_proxy's conf file.
This module requires the following modules/libraries:
- Islandora Paged Content (Conditional: should not require any additional actions from the user as the solution packs that use the feature requiring the islandora_paged_content module include it in their depency lists.)
Install as usual, see this for further information.
Download and install the Openseadragon library to your sites/libraries folder, or run
drush openseadragon-plugin. Openseadragon 0.9.129 is known to work well with Islandora.
Note: If you use the Drush command, it is advisable to Move (not copy) the install script to your
.drush folder and run it.
Set the paths for 'Djatoka server base URL' and configure OpenSeadradon in Administration » Islandora » OpenSeadragon (admin/islandora/module).
Further documentation for this module is available at our wiki
Having problems or solved a problem? Check out the Islandora google groups for a solution.
If you would like to contribute to this module, please check out CONTRIBUTING.md. In addition, we have helpful Documentation for Developers info, as well as our Developers section on the Islandora.ca site.