AtlasOfLivingAustralia / ala-bie-hub

BIE (Biodiversity Information Explorer) hub - merge of old ala-bie and bie-plugin
Mozilla Public License 2.0
1 stars 6 forks source link

Bug fix - system trying to read an image file as an audio recording, causing audio recording error for some species pages. #71

Open aliciadoddy opened 1 year ago

aliciadoddy commented 1 year ago

Example https://bie.ala.org.au/species/https:/biodiversity.org.au/afd/taxa/2a4e373b-913a-4e2a-a53f-74828f6dae7e#overview

Image

See also observation record for audio https://biocache.ala.org.au/occurrence/c484e77a-6460-4d9f-b92b-54956a5ed752

Image

Image

It appears the system is also trying to read audio as an image, as well as attempting to read the images attached to the same record as audio.

Investigate cause and fix so that only audio recordings are read as audio, and only images are read as images.