Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-8599

Backport 8463 to 7.9 - ImageCropPlugin: allow cropping when one dimension is unbounded

    XMLWordPrintable

Details

    • Maintenance Sprint 1, Maintenance Sprint 2

    Description

      Bug in Cropping

      Current situation

      1. Create an archetype for hippo version 7.9.4.
      2. Add a custom imageset with a variant with unbounded height and upscaling=false (default), see Create a custom image set .
      3. Try to crop the image to a height less than the height of the generated variant. This is not possible.

      Desired situation

      1. Cropping the image to a height less than the height of the generated variant is possible. The same should apply for a situation with unbounded width.

      Attachments

        1. Crop.webm
          597 kB
          Junaidh Kadhar Sheriff
        2. unboundedWidthOrHeight.patch
          13 kB
          Junaidh Kadhar Sheriff

        Issue Links

          Activity

            People

              jsheriff Junaidh Kadhar Sheriff
              jsheriff Junaidh Kadhar Sheriff
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: