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

improving thumbnail IIIF fetching #300

Closed
eroux opened this issue Oct 21, 2020 · 8 comments
Closed

improving thumbnail IIIF fetching #300

eroux opened this issue Oct 21, 2020 · 8 comments

Comments

@eroux
Copy link
Contributor

eroux commented Oct 21, 2020

Instead of calling URLs like /full/,145/0/default.jpg and have an alternative when it fails, we could instead call URLs like /full/!2000,145/0/default.jpg that never fail. The value 2000 is a bit random but should work in most cases... perhaps it could be even greater to account for FEMC palm leaves which are very large... an example of this type of URL:

https://iiif.bdrc.io/bdr:I3733::37330621.tif/full/!2000,145/0/default.png

@eroux
Copy link
Contributor Author

eroux commented Oct 22, 2020

ah thanks! I think the mirador thumbnails are fine, I was thinking more of the thubmnails in the general website (which doesn't have information on the size of the original image

@berger-n
Copy link
Collaborator

no problem I've updated this as well

@eroux
Copy link
Contributor Author

eroux commented Oct 29, 2020

I think we could put the back in place?

@eroux eroux added the important label Dec 2, 2020
@eroux
Copy link
Contributor Author

eroux commented Dec 2, 2020

let's see if it works well with the IIIF servers of our partners, but an idea that I got from the Leiden manifests could also be to use pct:50, so that we get the image scaled half... it's not as good as the !145 but in case it can't work on some IIIF servers that could be an alternative

@eroux eroux closed this as completed Dec 2, 2020
@eroux eroux reopened this Dec 2, 2020
@eroux
Copy link
Contributor Author

eroux commented Dec 10, 2020

Arf, that's depressing... ArchiveLabs/iiif.archivelab.org#52

But well... let's revert to the previous state, and thanks a lot for testing!

@berger-n
Copy link
Collaborator

is it ok to keep using the "!2000,145" syntax for thumbnails at iiif.bdrc.io and use ",145" for external thumbnails?
this is what I just did

@eroux
Copy link
Contributor Author

eroux commented Dec 10, 2020

that's perfect!!

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

No branches or pull requests

2 participants