Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-71098

Image entries missing icons Descriptive display style

    Details

    • Fix Priority:
      3

      Description

      1. Login as 'test' user (admin)
      2. Goto Site -> Content -> Documents and Media
      3. Select 'Descriptive' display style
      4. Add an image
        Expected behaviour:
        Small icon from image is displayed
        Observed behaviour:
        No small icon from image is displayed

        HTML inspected:

        <div class="aspect-ratio aspect-ratio-bg-center aspect-ratio-bg-cover click-selector" style="background-image: url('http://localhost:8080/documents/20143/0/1.0.png/c1d767a4-e70f-d7ba-afed-27a6b0a84e13?version=1.0&amp;t=1488888405615&amp;imageThumbnail=1')">
        		<img alt="thumbnail" class="sr-only" src="http://localhost:8080/documents/20143/0/1.0.png/c1d767a4-e70f-d7ba-afed-27a6b0a84e13?version=1.0&amp;t=1488888405615&amp;imageThumbnail=1"> </div>
        

        if

        aspect-ratio aspect-ratio-bg-center aspect-ratio-bg-cover click-selector

        is changed to

        aspect-ratio-bg-cover click-selector sticker sticker-lg sticker-static

        the icon is displayed.

      5. Delete the image
      6. Drag and drop some new images.
        Expected and observed behaviour:
        Small icons from images are displayed
        HTML inspected:
        <div class="click-selector user-icon user-icon-square user-icon-xl"> <img alt="thumbnail" class="img-responsive img-rounded" src="/documents/20143/0/drico-rony.jpg"> </div>
        
      7. Refresh the page
        Expected behaviour:
        Small icons from images are still displayed
        Observed behaviour:
        No small icons from images are displayed

        HTML inspected:

        <div class="aspect-ratio aspect-ratio-bg-center aspect-ratio-bg-cover click-selector" style="background-image: url('http://localhost:8080/documents/20143/0/drico-rony.jpg/72ecb9e0-6c0d-f2e9-5bce-caaa960c6128?version=1.0&amp;t=1488889411445&amp;imageThumbnail=1')">
        		<img alt="thumbnail" class="sr-only" src="http://localhost:8080/documents/20143/0/drico-rony.jpg/72ecb9e0-6c0d-f2e9-5bce-caaa960c6128?version=1.0&amp;t=1488889411445&amp;imageThumbnail=1"> </div>
        

        if

        aspect-ratio aspect-ratio-bg-center aspect-ratio-bg-cover click-selector

        is changed to

        aspect-ratio-bg-cover click-selector sticker sticker-lg sticker-static

        the icon is displayed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sergio.alonso Sergio Alonso
                Reporter:
                sergio.alonso Sergio Alonso
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 36 weeks, 1 day ago

                  Packages

                  Version Package
                  7.0.0 DXP FP13