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

Image cropping not allowed for variants large than the original when upscaling flag is up

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Fixed
    • 3.2.1
    • 3.2.2
    • None
    • 0.5
    • Flagged
    • Tiger
    • Tiger Sprint 130

    Description

      When an image variant has dimensions larger than the original, and upscaling=true on the variant, manual cropping is not allowed.

      Reproduction

      • In a 10.2.0 archetype, add new image set in the Gallery manager tool
      • Add a new image variant with landscape dimensions (e.g. wxh = 600x320) and upscaling is on
      • In the gallery, upload attached small portrait photo (200x246)

      Expected: cropping the added variant is possible
      Actual: cropping is not allowed, button hover says "Not applicable: original image width is less than thumbnail width"

      Attachments

        1. thumb55053.png
          thumb55053.png
          66 kB
        2. crop_image-button.jpg
          crop_image-button.jpg
          207 kB
        3. testimage2.jpg
          testimage2.jpg
          13 kB
        4. testimage.jpg
          testimage.jpg
          7 kB

        Issue Links

          Activity

            People

              pgupta Pankaj Gupta (Inactive)
              jhoffman Jeroen Hoffman
              Votes:
              2 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: