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

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
          Grzegorz Zur
        2. unboundedWidthOrHeight.patch
          13 kB
          Michiel Rop

        Issue Links

          Activity

            People

              jsheriff Junaidh Kadhar Sheriff
              mrop Michiel Rop
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: