Uploaded image for project: 'Islandora'
  1. Islandora
  2. ISLANDORA-1870

SPARQL and SOLR thumbnail display inconsistant

    Details

      Description

      When viewing a collection using the Legacy SPARQL Legacy display, thumbnails are styled to have a maximum width, preventing the thumbnail from being larger then its parent container.

      @see sc1.png (attached)

      However, when viewing a collection using the SOLR display, a thumbnails image is not width restricted, so the thumbnail can be much larger then the images parent, resulting in an undesirable overflow.

      @see sc2.png (attached)

      --Steps to Reproduce--
      * Add a large .png as a thumbnail for an object
      * View object in a collection grid using the solr backend display (retains size)
      * View object in a collection grid using SPARQL Legacy display (maintains aspect)

      --Test Case--
      * Add a large .png as a thumbnail for an object
      * View object in a collection grid using the solr backend display
      * View object in a collection grid using SPARQL Legacy display
      * Both displays should now have thumbnails (img) with a maximum width of 100%, preventing overflow.

      Related to https://jira.duraspace.org/browse/ISLANDORA-1609

      ----
      Morgan Dawe
      Developer
      discoverygarden inc. | Managing Digital Content

        Attachments

          Activity

            People

            • Assignee:
              donrichards Don Richards
              Reporter:
              morgandawe Morgan Dawe
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: