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. Thumbnails are not displaying in the Primo Front End

    Thumbnails are not displaying in the Primo Front End

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Symptoms
    2. Defect Status
    3. Replication Steps
    4. Workaround
    5. Additional Information
    • Article Type: Known Issue
    • Product: Primo
    • Relevant for Installation Type: Dedicated-Direct; Direct; Local; Total Care

    Symptoms

    - PNX records contain a link/thumbnail element that uses a custom or customized thumbnail template
    - The thumbnail template contains an ampersand (&)
    - The thumbnail template is not for Google
    - Examining the HTML with a thumbnail that does not display shows the ampersand has been encoded as &
    - Tracing the network calls shows a URL containing an encoded ampersand &

     

    Defect Status

    Fixed in Primo November 2015 release

    Replication Steps

    1. Search for a record that has a links/thumbnail with the customized template (e.g. $$Tcontentdm_thumb)
    2. Note that:
    - No thumbnail displays
    - Tracing the network calls shows the URL call contiain &
    - Inspecting the page source shows a call to pushThumbnailsData('<THUMBNAIL_URL with &amp;>','exlidThumbnail_0_0')
    Update the template, replacing the ampersand with \u0026
    Deploy the change and repeat the search
    Note that:
    The thumbnail displays
    Tracing the network calls shows a call to http://{server}:81/cgi-bin/thumbnail.exe?CISOROOT=/astro_atlas&CISOPTR=1355
    Inspecting the page source shows a call to pushThumbnailsData('http://{server}:81/cgi-bin/thumbnail.exe?CISOROOT=/astro_atlas\u0026CISOPTR=1355','exlidThumbnail_0_0')

    Workaround

    1. Go to the Primo Back Office - Advanced Configuration - All Mapping Tables - Sub-System: Delivery and edit the Templates Mapping Table
    2. Find the row with a value in the Code column matching the $$T value (e.g. contentdm_thumb)
    3. Update the value in the Template Code column
    - Find the ampersand (&)
    - Replace it with \u0026
    4. Save the Templates Mapping Table
    5. Deploy the Delivery Settings (GetIt and Availability)

    Additional Information

    For example, the Template contentdm_thumb is defined as

     

    http://<server>/cgi-bin/thumbnail.exe?CISOROOT=/{{control/addsrcrecordid}}&CISOPTR={{control/originalsourceid}}
    


    When examined in the HTML of the Primo Front End an example link with this problem would be:

    http://<server>/cgi-bin/thumbnail.exe?CISOROOT=/astro_atlas&amp;CISOPTR=1355
    

     

    Category: Front End

    Subject: Brief results


    View article in the Exlibris Knowledge Center
    1. Back to top
      • Thumbnail image link is not working
      • Thumbnails from DigiTool don't work in Primo
    • 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
      1. 42186
      2. Brief results
      3. contype:kba
      4. Dedicated-Direct
      5. Direct
      6. Front End
      7. Local
      8. Prod:Primo
      9. Total Care
      10. Type:Known Issue
    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