Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support a preference for data URIs in thumbnail service #122

Open
shawnmjones opened this issue Aug 23, 2018 · 0 comments
Open

Support a preference for data URIs in thumbnail service #122

shawnmjones opened this issue Aug 23, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@shawnmjones
Copy link
Member

The thumbnail service at /service/product/thumbnail/<URI-M> returns an image as a raw PNG. MementoEmbed should allow the user to use the Prefer header to request a data URI instead.

Perhaps something like:

 Prefer: thumbnail_data=datauri

vs.

 Prefer: thumbnail_data=raw

This way users can still potentially request JPG or GIF versions using normal content negotiation (whenever that functionality is implemented).

@shawnmjones shawnmjones added the enhancement New feature or request label Aug 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant