Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-20938

The auto-resizing of uploaded premium products images does not preserve aspect ratio

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.7.22
    • Fix Version/s: 4.7.24
    • Component/s: CiviContribute
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      Steps to reproduce:

      1. Create a new premium product (Administer > CiviContribute > Premiums > Add Premium)
      2. Choose "Upload from my computer" > "Browse" and select a non-square image file
      3. Fill out other required fields
      4. Save
      5. Click "Preview" for the product your just added
      6. Expect the image to maintain the aspect ratio of the one you uploaded
      7. Observe that the image has been squished to become square

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              seanmadsen Sean Madsen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: