Skip to content

Commit

Permalink
document more config options.
Browse files Browse the repository at this point in the history
  • Loading branch information
robcast committed Dec 7, 2023
1 parent d029d29 commit b2ec459
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
7 changes: 7 additions & 0 deletions doc/src/site/markdown/digilib-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,13 @@ The prefix (after `Scaler`) that leads to the IIIF API.

The character that replaces a slash in the identifier of IIIF requests.

```xml
<parameter name="iiif-image-base-url" value="" />
```

The base URL used in constructing IIIF information resource URLs (needs to include servlet name and iiif-prefix).
This is only necessary in some cases behind a proxy.


### Threading options

Expand Down
7 changes: 6 additions & 1 deletion doc/src/site/markdown/iiif-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ in a directory with images then the contents of that file are added to the top-l
information to the manifest.

The configuration parameter `iiif-manifest-page-label` determines the format of the label of each image:
`filename` uses the image file name (default, sans extension), `index` uses the index (counting from 1).
the value `filename` uses the image file name (default, sans extension), `index` uses the index (counting from 1).

Additional configuration parameters can optionally be used to fix the generation of URLs in the IIIF presentation
API output when running behind a proxy that changes URL paths:
* `iiif-manifest-base-url`: base URL used in constructing IIIF manifests including servlet name and iiif-prefix
* `webapp-base-url`: web-application base URL used in constructing API paths
* `scaler-servlet-name`: Scaler servlet name used in constructing IIIF image API paths

0 comments on commit b2ec459

Please sign in to comment.