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

Get appropriately sized image for the church on church.html #19

Open
Ainali opened this issue Oct 26, 2016 · 4 comments
Open

Get appropriately sized image for the church on church.html #19

Ainali opened this issue Oct 26, 2016 · 4 comments
Assignees

Comments

@Ainali
Copy link
Collaborator

Ainali commented Oct 26, 2016

Right now we are loading the highest resolution version image from Wikimedia Commons. It would be a bit friendlier and quicker to get an image that is based on the screen size of the user.

@rjakobsson
Copy link

So we need to come to some kind of consensus on which image size to fetch, and how to handle rotation.

@Abbe98
Copy link
Member

Abbe98 commented Dec 18, 2016

The web-client is newer wider then 600px so the solution here is just to move away from using the original image(600*x small enough).

@Abbe98
Copy link
Member

Abbe98 commented Dec 21, 2016

Note to self: the Mediawiki API does not support returning multiply thumbnails so this will introduce another 3000 of HTTP requests when indexing the database...

@Abbe98 Abbe98 self-assigned this Jan 3, 2017
@Abbe98 Abbe98 added this to the SparQL backend milestone Jan 26, 2018
@Abbe98
Copy link
Member

Abbe98 commented Jun 2, 2021

We can do something like the following:

https://w.wiki/3RUX

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

3 participants