Closed
Description
openedon Jan 25, 2022
The provider script for SMK does some manual building of image urls:
These image URLs timeout or take a very long time to download, which has prevented us from making SMK live in Openverse.
Todos
- Rename script to SMK for clarity (can also refer to them as the National Gallery of Denmark in comments somewhere, also for clarity)
- Update the 'full' url to something more reasonable, like a 2000px wide thumbnail (since we refer users to the original source for downloading anyway, we shouldn't need the 'true' full URL. We might want it if we ever do support full downloads, but this should be a separate discussion.
- Use any new API fields or metadata available to update the script
Here is an example results endpoint: https://api.smk.dk/api/v1/art/?object_number=kms1&lang=en
Note that there's a image_hq
boolean field to indicate how big an image is, along with an image_size
field that gives the exact size, which could be factored into this work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
Type
Projects
Status
✅ Done