Improve handling of previews
This commit is contained in:
@@ -190,7 +190,10 @@ Remote image search:
|
||||
- `GET /api/artwork/providers` exposes available providers to the UI
|
||||
- `GET /api/artwork/search` calls the selected provider
|
||||
- `POST /api/artwork/import` downloads, validates, size-limits, and caches a selected remote image
|
||||
- The first provider is Wikimedia Commons; add future providers by implementing `ImageSearchProvider` and registering it in `IMAGE_SEARCH_PROVIDERS`
|
||||
- Current providers are Wikimedia Commons, optional TMDB, and optional Google Custom Search
|
||||
- TMDB is enabled with `TMDB_BEARER_TOKEN` or `TMDB_API_KEY`
|
||||
- Google Custom Search is enabled with `GOOGLE_CUSTOM_SEARCH_API_KEY` and `GOOGLE_CUSTOM_SEARCH_ENGINE_ID`
|
||||
- Add future providers by implementing `ImageSearchProvider` and registering it in `IMAGE_SEARCH_PROVIDERS`
|
||||
|
||||
## Rendering Pipeline
|
||||
|
||||
|
||||
Reference in New Issue
Block a user