Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
reloaded:is_req [2017/07/28 16:56] giancarlo |
reloaded:is_req [2018/01/23 14:05] giancarlo |
</WRAP> | </WRAP> |
| |
* Fedora policy update | * Fedora policy update [not sure we need this] |
| |
If yuo plan to redirect Tile source URL from front-end to directly back-end, you need to add Image Server IP to /usr/local/fedora/data/fedora-xacml-policies/repository-policies/default/deny-apim-if-not-localhost.xml | If yuo plan to redirect Tile source URL from front-end to directly back-end, you need to add Image Server IP to /usr/local/fedora/data/fedora-xacml-policies/repository-policies/default/deny-apim-if-not-localhost.xml |
By default tile source point to front-end server to download JP2. In some case pointing directly to fedora may result in better performance. | By default tile source point to front-end server to download JP2. In some case pointing directly to fedora may result in better performance. |
\\ | \\ |
To modify how this works you can add to your theme template.php this functions to override tile source URL for islandora openseadragon (Many thanks Nigel!!): | To modify how this works you can add to your theme template.php this function to override tile source URL for islandora openseadragon (Many thanks Nigel!!): |
<WRAP prewrap center> | <WRAP prewrap center> |
<code php> | <code php> |
</WRAP> | </WRAP> |
This function replaces tile source URL and remove token, so IIIF server download directly from fedora avoiding network loop with front-end. | This function replaces tile source URL and remove token, so IIIF server download directly from fedora avoiding network loop with front-end. |
| \\ |
| \\ |
| **NOTE: UPGRADE to CANTALOUPE 3.4** |
| \\ |
| * remove function to override tile source URL for islandora openseadragon from your theme template.php |
| * openseadragon >= 2.3.1 (wget https://github.com/openseadragon/openseadragon/releases/download/v2.3.1/openseadragon-bin-2.3.1.tar.gz) |
| * drupal module token (drush -v -u 1 dl token / drush -v -u 1 en token) |
| * islandora_openseadragon HEAD or from commit cfb005b Nov 20, 2017 |
| * configure islandora openseadragon new options (i.e. Add token as header:NO ; IIIF Identifier: http://repo.digibess.eu/fedora/objects/[islandora_openseadragon:pid]/datastreams/[islandora_openseadragon:dsid]/content) |
| |
| |