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

Exclude a range of folios from a manifest #547

Open
lguariento opened this issue Jul 25, 2023 · 1 comment
Open

Exclude a range of folios from a manifest #547

lguariento opened this issue Jul 25, 2023 · 1 comment

Comments

@lguariento
Copy link

Hello,

is is possible to tell diva.js to ignore a range of canvases from a IIIF manifest.json? Say, I want to avoid displaying from canvas 2 to canvas 21. I've edited the manifest removing those canvases. That messes up with the GoTo function though (the top-right built-in 'Go').

@ahankinson
Copy link
Member

I don't think this is possible; Diva generates an index of the manifest on first load.

That said, you can fetch the manifest outside of Diva, manipulate it as JSON, and then pass the manipulated object directly to Diva to load, rather than trying to edit it directly in Diva.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants