Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1847

Specify image resizing defaults for category item images

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Accepted
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.2.2-B3
    • Fix Version/s: 5.2.2
    • Component/s: Front End, Image Processing
    • Labels:
      None
    • Change Log Group:
      Fixed
    • Change Log Message:
      Fixed notice about missing "output_format" parameter during product image resize on the Front-End.
    • Story Points:
      1
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      When the "\ImageHelper::parseFormat" method (called from the "\ImageHelper::ResizeImage" method) isn't used, then provide defaults for these parameters:
       

      $params['quality'] = 100;
      $params['output_format'] = 'auto';
      $params['orientation'] = 'manual';
      

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
                Reviewer:
                Erik Snarski [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h