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

Improve how images are (hot) linked from Wikimedia Commons #449

Open
Phu2 opened this issue Mar 21, 2023 · 0 comments
Open

Improve how images are (hot) linked from Wikimedia Commons #449

Phu2 opened this issue Mar 21, 2023 · 0 comments

Comments

@Phu2
Copy link
Contributor

Phu2 commented Mar 21, 2023

Currently, a random image from Wikimedia Commons is displayed on the home page http://lobid.org/organisations.
The <img> element looks like this:

<img id="index-image" src="https://lobid.org/imagesproxy?url=https://commons.wikimedia.org/wiki/Special:FilePath/Ottobrunn%20Otto%20Koenig%20von%20Griechenland-Museum%20innen.jpg" title="Organisation des Moments, aktualisieren für weitere" alt="Otto-König-von-Griechenland-Museum, Ottobrunn">

Thus the original file of the image is requested resulting in long loading time depending on the size of the file. In the example above the requested image is about 10 MB.
The value of the title attribute seems to be static and not very useful.

I would suggest

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

1 participant