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

As a Display Page Template Creator I want to get Adaptive Media support for images and background images mapped to the entity mapped to the Display Page Template

    Details

      Description

      Intro/Context:

      The goal of this story is to support Adaptive Media for images and background images in Display Page Templates so that we completely support Adaptive Media for images added to a display page template which are mapped to fields of the entity mapped to the Display Page Template with a little difference that we are not aiming at having the resolution / size indicator because we don't know what is the image that will be mapped.

       

      Given a user is using a Display Page Template

      -

      When the user has selected an image (from document) for both image fragment and background image

      Then the user should be able to  see image resolution and weight similarly to what has been done for the precedent stories.

      -

      When the user has mapped an Image using mapping (from: web content, etc.)

      Then the user should be able to  see that Adaptive Media has selected the correct image resolution using for example chrome inspection tool (this info will not appear in edit mode in the side panel because for DPT we don't know what is the image that will be mapped)

      -

      Given the user has added a background image

      Then the user will not be able to adjust the image resolution but will see the image resolution and size in all cases

      -

      See: LPS-122822

      NOTE: The experience of selecting the image should be consistent between the stories.

      Test Scenarios

      Test Scenarios Test Strategy Kind of test Is it covered by FrontEnd ? (JS-Unit) Is it covered by BackEnd ? (unit or integration) Could it be covered by POSHI?
      The image resolution is applied to directly selected image in fragment with background image editable field in display page template Critical Manual No No Yes
      The image resolution is applied to directly selected image in fragment with image editable field in display page template Critical Manual No No Yes
      The image resolution is applied to directly selected background image in Container with padding settings in display page template Critical Manual No No Yes
      The image resolution is applied to mapping image of a fragment with editable field in display page template Critical Manual  No  No  Yes
      The image resolution is applied to mapping background image of a fragment with editable field in display page template Critical Manual  No  No  Yes
      The image resolution is applied to mapping background image of the Container with padding settings Critical Manual  No  No  Yes

      Note: View mode should be checked

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ruben.pulido Ruben Pulido
              Reporter:
              ruben.pulido Ruben Pulido
              Engineering Assignee:
              Pavel Savinov (Inactive)
              Recent user:
              Ruben Pulido
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:

                  Packages

                  Version Package
                  Master