Islandora handled datastream access allows view access to datastreams via the handle of the object.
This module adds the following URLs:
- /islandora/handled_access/handle/what/view
With this URL a specific datastream can be viewed by using the handle, for example /islandora/handled_access/1887/12345/JPG/view
will view the JPG datastream of the Islandora item with handle 1887/12345.
If the TN datastream (thumbnail) is accessed and the islandora_imagecache is installed, the cached thumbnail will be used.
As a special case, the what can be
image: an JP2, JPG or MEDIUM_SIZE datastream (in that order) is then used if it exists, has an image mimetype (image/png, image/jpeg or image/jp2) and is accessible. Also, what can bedocumentand then a document (PDF) or image or binary is returned. Also, what can bethumbnailand then the TN datastream is returned. - /islandora/handled_access/handle/what/access This URL returns a JSON response that indicates if an item and datastream can be found based on the handle and if access is allowed. The special cases what are also possible.
- /access/handle/view
This does the same as /islandora/handled_access/handle/what/view for what =
document - /access/handle/access
This does the same as /islandora/handled_access/handle/what/access for what =
document - /access/handle/download
This does the same as /islandora/handled_access/handle/what/view for what =
documentbut downloads the document - /access/handle/thumbnail
This does the same as /islandora/handled_access/handle/what/view for what =
thumbnail - /access/PID/view Same as /access/handle/view but with a PID of an object.
- /access/PID/access Same as /access/handle/access but with a PID of an object.
- /access/PID/download Same as /access/handle/download but with a PID of an object.
- /access/PID/thumbnail Same as /access/handle/thumbnail but with a PID of an object.
This module requires the following modules/libraries:
This module uses the following modules/libraries if they are installed:
- Islandora image cache
- curl (is used when islandora_imagecache is installed, but by default installed with islandora)
Install as usual, see this for further information.
Current maintainers:
If you would like to contribute to this module, please contact the current maintainer.
GPLv3 Copyright 2019-2020 Leiden University Library