Hello together,
I'm currently working in a student project in my university where we program the application www.openartbrowser.org where you can see open data about art from wikidata and wikipedia. The artworks we use are often pictures in the jpg format. We can use their thumbnails easily for example the Mona Lisa Thumbnail: https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/Mona_Lisa,_by_Leonardo_da_Vinci,_from_C2RMF_retouched.jpg/512px-Mona_Lisa,_by_Leonardo_da_Vinci,_from_C2RMF_retouched.jpg our original URL looks like this https://upload.wikimedia.org/wikipedia/commons/e/ec/Mona_Lisa,_by_Leonardo_da_Vinci,_from_C2RMF_retouched.jpg so we just add two strings to the path (/thumb/ and 512px-{image-title}) and it works.
However we have a lot of tiff images (around 13.000) as well which are not supported by the most browsers + they're also quite big. To get their thumbnail links we tried to use a similar method: https://upload.wikimedia.org/wikipedia/commons/thumb/f/f9/Scenografiskiss_av_Christian_Jansson_och_Fredrik_Wilhelm_Scholander_-_SMV_-_DTM_1939-0541.tif/lossy-page1-399px-Scenografiskiss_av_Christian_Jansson_och_Fredrik_Wilhelm_Scholander_-_SMV_-_DTM_1939-0541.tif.jpg is the thumbnail for https://upload.wikimedia.org/wikipedia/commons/f/f9/Scenografiskiss_av_Christian_Jansson_och_Fredrik_Wilhelm_Scholander_-_SMV_-_DTM_1939-0541.tif
The lossy-page1- part has to be added and the .jpg to the end the rest is similar to the jpg thumbnails.
The links work as well, but the problem is now that if we want to load multiple of these thumbnails we get a 429 Too many requests error which points us to the problem that tiff files may not be cached like jpg pictures or resolving their thumbnails takes somehow very long time.
So my question is whether there is a best practice method to get the thumbnails from tiff images without getting the 429 HTTP error?