Right now we are using an external endpoint for this, so it could theoretically stop working correctly at any time which is not very reliable. We have 3 options from the top of my head to mitigate/negate this:
Make the default case return null if we fail to fetch any images using this API (so no images being displayed) - this is the current behavior.
Make the default case return a static list of images stored locally in our codebase - good fallback because we'll at least be displaying something if the API fails but this list will definitely be outdated as it will not be regularily maintained.
Right now we are using an external endpoint for this, so it could theoretically stop working correctly at any time which is not very reliable. We have 3 options from the top of my head to mitigate/negate this: