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

Include illustrative image(s) #57

Open
nichtich opened this issue Mar 10, 2020 · 4 comments
Open

Include illustrative image(s) #57

nichtich opened this issue Mar 10, 2020 · 4 comments
Labels
feature Additional functionality question Further discussion needed

Comments

@nichtich
Copy link
Member

P18 links to images on Wikimedia Commons. Image URLs should be returned in JSKOS field depiction. Image URLs can be generated from Commons file name with preferred image size like this:

http://commons.wikimedia.org/wiki/Special:FilePath/Honeycrisp.jpg?width=300px
=> https://upload.wikimedia.org/wikipedia/commons/thumb/f/f4/Honeycrisp.jpg/300px-Honeycrisp.jpg

Open question is how to comply with license. JSKOS format does not include license information so how should clients (especially Cocoda) handle it?

=> https://commons.wikimedia.org/wiki/File:Honeycrisp.jpg
=> Jonathunder / CC BY-SA

@nichtich nichtich added feature Additional functionality question Further discussion needed labels Mar 10, 2020
@nichtich
Copy link
Member Author

Unfortunately Wikimedia Commons does not support IIIF API

@nichtich
Copy link
Member Author

Apparently the depiction field is already filled but the license issue remains.

@stefandesu
Copy link
Member

Instead of return image URLs as string, couldn't we return them as an object which includes the URL as well as the license?

@nichtich
Copy link
Member Author

Yes, that's the idea but it turns out complicated which fields to include in the image object without inventing your own standard. One option so far is IIIF Presentation API or IIIF Image Info API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Additional functionality question Further discussion needed
Projects
None yet
Development

No branches or pull requests

2 participants