hbz/lobid-organisations

Improve how images are (hot) linked from Wikimedia Commons

Phu2 opened this issue · 0 comments

Phu2 commented

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