Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Primo

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Primo
    3. Knowledge Articles
    4. How to add a custom thumbnail template for a record in Primo?

    How to add a custom thumbnail template for a record in Primo?

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Description
    2. Resolution
    3. Additional Information
    • Product: Primo

    Description

    Add a thumbnail of the cover images to Primo search results from a specific web source, based on metadata in the pnx.

    Resolution

    1. Edit the Normalization rule of thumbnail\links and add a new rule so records will have a constant $$Tnewcover_thumb
    Choose the template name, just keep the format $$T{}_thumb and no spaces.

    Primo presents the cover of the first positive response, so if a record has:
    <links>
    <thumbnail>$$Tamazon_thumb</thumbnail>
    <thumbnail>$$Tnewcover_thumb</thumbnail>
    </links>

    and Amazons' response was positive with a thumbnail image, the new thumbnail image template won't be presented.
    Therefore if you would like to give priority to the new template, put it first in the pnx.

    2. In the mapping table- Template: add a new row with address to the picture itself.
    Note: the template must lead to the picture itself,

    If the link is using data from the pnx (for example: issn\addata) enter the pnx directory with 2 curly brackets

    {{---}}
    

    example:

    Code=newcover_thumb
    Template Code= http://i.XXX.com/{{addata/issn}}.png
    

    3. Deploy the NR, run an update pipe, deploy the mapping table.
    The new cover should be presented in the FE.

     

    Additional Information

    How to use custom URL links for the thumbnail displayed for a record in Primo

     


    • Article last edited: 14-Jan-2020
    View article in the Exlibris Knowledge Center
    1. Back to top
      • How to add a 'Forgot My Password' link to the login page in the new UI when using Alma for authentication
      • How to add a DOI Button to the browser
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Community Content Type
      How To
      Content Type
      Knowledge Article
      Language
      English
      Product
      Primo
    2. Tags
      This page has no tags.
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved