Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Medium Medium
    • Resolution: Fixed
    • Affects Version/s: 2014.11, 2015.01
    • Fix Version/s: None
    • Component/s: None

      Description

      I'm using the 2014.11.1 ezpublish-kernel release and the liip-imagine-bundle that comes with this version. I noticed that without setting any image quality option all images variations are saved with 100% quality which leads to some very huge image files.

      I tried the following settings:

      1) Setting the jpeg quality in the ez image variations:

      ezpublish:
          system:
              global:
                  image_variations:
                      my_variation:
                          quality: 60
                          jpeg_quality: 60
      

      Doesn't work, error on clear:cache. Options unknown.

      2) Setting the jpeg quality in the liip_imagine block (additionally to the setting above in "image_variations"):

      liip_imagine:
          driver: imagick
          filter_sets:
              my_variation:
                  quality: 70
                  jpeg_quality: 70
      

      Doesn't work, the 100% quality setting from the image_variations setting is used.

      3) Setting the jpeg quality in the liip_image block only (the image variation MUST NOT be defined in the image_variation block):

      liip_imagine:
          driver: imagick
          filter_sets:
              my_variation:
                  quality: 70
                  jpeg_quality: 70
      

      This one works! I also found out that both settings (quality + jpeg_quality) are used, but I would prefer "jpeg_quality" since "quality" is deprecated.

      It would be nice if the different quality settings could be used directly inside the image variations block.

        Issue Links

          Activity

          Hide
          Eduardo Fernandes (Inactive) added a comment -

          Oh! Then everything is nice

          Show
          Eduardo Fernandes (Inactive) added a comment - Oh! Then everything is nice
          Show
          Bertrand Dunogier added a comment - - edited Doc added at https://doc.ez.no/display/EZP/Image+alias+generation#Imagealiasgeneration-Purgingaliases
          Show
          Rui Silva (Inactive) added a comment - Bertrand Dunogier , don't you mean this link https://doc.ez.no/display/EZP/Image+alias+handling#Imagealiashandling-Purgingaliases ?
          Show
          Bertrand Dunogier added a comment - Actually I meant https://doc.ez.no/display/TECHDOC/Image+alias+handling#Imagealiashandling-Purgingaliases .
          Hide
          Rui Silva (Inactive) added a comment -

          Tested and approved by QA for master.

          Show
          Rui Silva (Inactive) added a comment - Tested and approved by QA for master.

            People

            • Assignee:
              Unassigned
              Reporter:
              Daniel Mühlbacher
            • Votes:
              4 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: