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

More relevant images #54

Open
Ainali opened this issue May 8, 2021 · 2 comments
Open

More relevant images #54

Ainali opened this issue May 8, 2021 · 2 comments

Comments

@Ainali
Copy link
Collaborator

Ainali commented May 8, 2021

There are a number of Wikidata properties for images, and it might be interesting to show them too. Here is an example of a query that grabs all the images along with what kind of image it is: https://w.wiki/3JJ5

I guess the tricky part is to do a nice layout for this. If there are four or more results, it might be nice with a small gallery underneath the lead image. But what to do if there is 2 or 3 hits?

@Abbe98
Copy link
Member

Abbe98 commented May 8, 2021

Maybe we could do something like:
Screenshot from 2021-05-08 17-36-17
When you would click the small ones they would appear in a modal.

@Ainali
Copy link
Collaborator Author

Ainali commented May 8, 2021

That looks great! If there's only one hit, it could be skipped and else it would work. Are there any of the image properties that doesn't suit well for this besides photosphere image (P4640) that shows up in the VR view?

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