BenShelton / library-api

An API for accessing information related to meetings and publications of Jehovah's Witnesses
https://benshelton.github.io/library-api/
MIT License
10 stars 2 forks source link

[Feature] Ignore some images #26

Closed BenShelton closed 3 years ago

BenShelton commented 3 years ago

Packages

Core

Is your feature request related to a problem? Please describe.

N/A

Describe the solution you'd like

Some images are never going to be displayed, namely:

We should be able to filter out these when requesting images. This could be a param so that if someone didn't want this filter they could opt out of it, but the default should be to not include them.

Describe alternatives you've considered

Showing them all is fine, just messy.

Additional context

N/A

BenShelton commented 3 years ago

It looks like in OCLM that Multimedia.CategoryType is always 8 for the images we want to show. 9 seems to indicate the "Square" versions an 15 is publication covers.

Adding that as extra metadata could allow us to add a toggle on Media, either in settings or the control panel.