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

Image loses proportions when specifying an URL for it in content pages


    • Type: Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: ~[Archived] WCM
    • Labels:
    • Fix Priority:


      Steps to reproduce:

      • Go to Content & Data > Document and Media
      • Add a new image (better if it's an image with big proportions)
      • Go to Site Builder > Page Fragments
      • Add a new fragment collection
      • Add a new fragment entry of type component

      In the html add an editable of type image like this:

      <lfr-editable id="img001" type="image">
          <img src="#">
      •  Publish the fragment
      • Go to Site Builder > Pages and add a new public content page
      • In Section Builder, add a layout of 3 columns
      • Add the component that was created previously to one of the columns
      • Click on the fragment and select image properties
      • Select the image that was added previously

      Notice that the image adapts to the width of the column

      • Click again on the image, and this time click on the link options
      • Specify an URL for the link

      Expected result: The image still adapts to the widht of the column

      Actual result: The image shows in full size, and removing the URL will make the image adapt to the column again



          Issue Links



              • Assignee:
                kyle.miho Kyle Miho
                jurgen.kappler Jürgen Kappler
                Participants of an Issue:
                Recent user:
                Kyle Miho
              • Votes:
                0 Vote for this issue
                0 Start watching this issue


                • Created:
                  Days since last comment:
                  35 weeks, 3 days ago


                  Version Package