I have installed clean Magento EE2.3 . after I have moved to production mode I got 2 big problems.

1) when I look on the product page I can see it being resized to a different size with white lines. look at the original image that has been uploaded:

this is cache images:


this is original images that were upload (just remove cache):


2) on Magento EE2.3 when a buyer goto checkout without been register Magento gives a message of enter image description here

1 Answer 1


Solution for Problem 1:

White border issue

After creating a plugin to convert the string value to an integer (which properly casts to a boolean), the image frame is not added. For details see this https://github.com/magento/magento2/issues/4622

public function beforeSetKeepFrame($image, $keep)
    if (is_string($keep)) {
        $keep = (strtolower($keep) === 'true') ? 1 : 0;
    return [$keep];

For Resize issue:

In etc/view.xml of your current theme, you can update product image size.Make sure you resize with the expect ratio.Use additional tag <frame> to prevent white borders on image. Example Code:

<image id="product_page_main_image" type="small_image">

Check all other tags, not just a tag with the id product_page_main_image check others too.

Solution for Problem 2:

Go to Stores > Settings > Configuration > Customers > Reward Points

enter image description here

enter image description here

You may disable the reward functionality do whatever configuration you want to do like display on store front, reward point expiry calculation etc.

Reference: https://docs.magento.com/m2/ee/user_guide/configuration/customers/reward-points.html

I hope this will help

  • 1) will try and see if this fix it.
    – schnitz
    Apr 17, 2019 at 13:12
  • 2) it is enable but not show on front end.
    – schnitz
    Apr 17, 2019 at 13:13
  • @schnitz have you tried my solution? Apr 22, 2019 at 7:20
  • no this have not help.I try to fix it by changing the etc/view.xml file but same problom. to fix it i have copy all images from /pub/media/catalog/product/ TO /pub/media/catalog/product/cache/b3b166914d87ce343d4dc5ec5117b502/ same location the images show on . This have fix the problem BUT after 24H images go back to same size with the white frame. Can you understand what making it ? how it can be that after 1 day the cache images change back again?
    – schnitz
    May 22, 2019 at 6:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.