AtlasOfLivingAustralia / ala-bie-hub

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

Image available on overview page, but not in species page gallery #78

Closed aliciadoddy closed 7 months ago

aliciadoddy commented 11 months ago

There is an image available for this species, but for some reason it is only visible on the overview page.

https://bie.ala.org.au/species/https://biodiversity.org.au/afd/taxa/11554f83-006f-45f6-9011-bf6853f7b11f#overview

For the species page gallery tab, this image is not being displayed. It is unclear why this is, or whether this may be an issue for other species pages as well.

https://bie.ala.org.au/species/https://biodiversity.org.au/afd/taxa/11554f83-006f-45f6-9011-bf6853f7b11f#gallery

adam-collins commented 10 months ago

The difference is that qualityProfile=ALA is applied only when searching for gallery images, not front page images.

The fix is to apply qualityProfile=ALA to the front page images.

adam-collins commented 10 months ago

pull request https://github.com/AtlasOfLivingAustralia/ala-bie-hub/pull/83

adam-collins commented 10 months ago

On second thought, the ALA data quality filter is not appropriate here. Using a consistent image filter instead.

Open to suggestions for change: fq=geospatial_kosher:true&fq=-user_assertions:50001&fq=-user_assertions:50005