NaturalHistoryMuseum / ckanext-nhm

A CKAN extension for the Natural History Museum's Data Portal.
GNU General Public License v3.0
25 stars 4 forks source link

Images do not load when searching by taxonomy or keyword #798

Closed alycejenni closed 4 weeks ago

alycejenni commented 4 weeks ago

Searching taxa for "Oedemeridae" does not work - none of the images load, though the search seems to have completed and all the info.json files are requested.

Oddly enough the same search works if you use the slug: https://data.nhm.ac.uk/image-viewer/search/complete-brief-antelope

Update: this actually seems to be the case with all taxa and keyword searches.

alycejenni commented 4 weeks ago

Fixed by adding an exception that makes sure the image data gets loaded correctly, though I have absolutely no idea why this was working when loaded with a slug.