How to determine which returned book cover image is good in a Primo API call
- Product: Primo
- Product Version: Classic Primo
- Relevant for Installation Type: Multi-Tenant Direct, Dedicated-Direct, Local, TotalCare
Question
How to determine which returned book cover image is good in a Primo API call?
Answer
Primo uses more than one thumbnails: there is a default thumbnail, and according to the settings in the Normalization Rules, they can come from Google, Syndetics, Alma, Digitool and so on. During an API call all the possible thumbnail URLs will return in the API call's XML or JSON answer.
You can check for a code to determine which thumbnail is usable by visiting the following URL:
https://developers.exlibrisgroup.com/blog/customized-primo-brief-result-book-cover-image-loading/
And check the github solution they've provided for Primo FE classic UI. Even if it is not directly about Primo API, you can find the code they developed useful.
- Article last edited: 05-Aug-2020