Uploaded image for project: 'Imaging'
  1. Imaging
  2. MGNLIMG-45

Resizing: provide optional non-expansion

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • 2.2.6, 3.0.6, 3.1.2
    • None
    • None
    • Yes

      The current implementations of resizing will always try to resize to the size provided by getEffectiveTargetSize(). For smaller source images, it might be desirable to keep the original source as-is and simply expand the resulting image "canvas" without actually resizing its content.

      Added new option for BoundedResize class. To turn on this feature add new property to node /config/modules/imaging/config/thumbnail (portrait or large)/operation/resize - new property expand with value false

        Acceptance criteria

              efochr Evzen Fochr
              gjoseph Magnolia International
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: