Magento2: How to increase the quality of product photos JPG (Magento 2.1)

Created on 21 Jul 2016  路  6Comments  路  Source: magento/magento2

The JPG compression on Magento 2.1 is very strong, so that the quality of product images get really bad in Catalog and Product view. How can I change the Image compression for JPG's in Magento 2.1 ?

feature request improvement

Most helpful comment

@zhiyicai @MomotenkoNatalia . I would be keen to know if you figured this one out. I also want to increase the quality of product images.

All 6 comments

@zhiyicai @MomotenkoNatalia . I would be keen to know if you figured this one out. I also want to increase the quality of product images.

same here, it has been an issue for some store owners since Magento 1. They invest enough time/money to make the images look good but Magento reduces their quality after being uploaded

This should help you guys out I think:

  1. Make sure you have the php extension imagick installed on your server
  2. Go in the Magento backend to Stores => Configuration => Advanced => Developer => Image Processing Settings
  3. Change PHP GD2 to ImageMagick and Save
  4. Go to System => Cache Management
  5. Click the Flush Catalog Images Cache button

Bonus: for Magento 1, you can install the Perfect_Watermarks extension to add the Imagemagick option to your M1 shop.

@hostep thank you, it worked for me on Magento 2.
Someone suggested an alternative on this page In case anyone wants to test it.

@zhiyicai please let us know if these suggestions provide a suitable solution for you. I'm adding the feature request label so we can log your request: "Adjust the JPG compression quality setting in the admin panel."

Thank you for your submission.

We recently made some changes to the way we process GitHub submissions to more quickly identify and respond to core code issues.

Feature Requests and Improvements should now be submitted to the new Magento 2 Feature Requests and Improvements forum (see details here).

We are closing this GitHub ticket and have moved your request to the new forum.

Was this page helpful?
0 / 5 - 0 ratings