The code for reading images from repositories is in https://github.com/Wikidocumentaries/wikidocumentaries-topic-search-api
It is possible to add new repositories by imitating one of the functions in rest.js such as getImagesFromFinnaWithTitle and adding the result in var images = []; on line 1122 currently.
Here are the APIs in the pipeline for images, see the task tree for maps
* Finna
* Wikimedia Commons / Structured Data on Commons
* Flickr / Flickr Commons
* Europeana
These have been considered and are investigated
* Ajapaik T210228
* Topotheks T213431
* K-Samsök // Also part of Europeana
* Internet Archive T213400
* The Met
* Library of Congress
* CC Search / Openverse T223361
When there are more and more sources, it becomes essential to
* make the code modular and // Done
* perhaps create a API call creation / tweaking interface