samvera / serverless-iiif

IIIF Image API 2.1 & 3.0 server in an AWS Serverless Application
https://samvera.github.io/serverless-iiif/
Apache License 2.0
69 stars 22 forks source link

Add resolverTemplate to allow for simple resolution without a custom function #76

Closed mbklein closed 2 years ago

mbklein commented 2 years ago

Description

Right now, there are two image resolver options: id + '.tif' and the CloudFront preflight function. To add some flexibility, we should accept an optional printf-style template that the ID gets applied to. (e.g., '%s.tif', /path/to/images/%s.pyramid.tif).

Done Looks Like

mbklein commented 2 years ago

Resolved by #78