Magento 2.3 adds white stripes while resizing a product image for a frontend product list Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Magento 2 cached image error, Warning: getimagesize()Magento 2 composer update with sample data removes uploaded images?Logo and icons dont show in frontendMagento 2: How to get resize image for Custom Module?Magento 2 product images not showing, 2 different directoriesProduct Catalog images cannot be indexedMagento 2.3, Too Many Duplications in Product Image Cache?Magento 2.3.0 product image cache resizing images to look very badRewrite rule for media imagesNot able to upload or remove image on migrated products in Magento 2

List of Python versions

How does the particle を relate to the verb 行く in the structure「A を + B に行く」?

Can inflation occur in a positive-sum game currency system such as the Stack Exchange reputation system?

Error "illegal generic type for instanceof" when using local classes

Book where humans were engineered with genes from animal species to survive hostile planets

51k Euros annually for a family of 4 in Berlin: Is it enough?

Why didn't this character "real die" when they blew their stack out in Altered Carbon?

Apollo command module space walk?

How to react to hostile behavior from a senior developer?

How do pianists reach extremely loud dynamics?

Should I use a zero-interest credit card for a large one-time purchase?

Storing hydrofluoric acid before the invention of plastics

Should I discuss the type of campaign with my players?

String `!23` is replaced with `docker` in command line

Using et al. for a last / senior author rather than for a first author

English words in a non-english sci-fi novel

What exactly is a "Meth" in Altered Carbon?

Is it fair for a professor to grade us on the possession of past papers?

Can a non-EU citizen with residency visa traveling with me come with me through the EU passport line, when entering Schengen area?

How to find all the available tools in mac terminal?

Why am I getting the error "non-boolean type specified in a context where a condition is expected" for this request?

Fundamental Solution of the Pell Equation

How widely used is the term Treppenwitz? Is it something that most Germans know?

Ring Automorphisms that fix 1.



Magento 2.3 adds white stripes while resizing a product image for a frontend product list



Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Magento 2 cached image error, Warning: getimagesize()Magento 2 composer update with sample data removes uploaded images?Logo and icons dont show in frontendMagento 2: How to get resize image for Custom Module?Magento 2 product images not showing, 2 different directoriesProduct Catalog images cannot be indexedMagento 2.3, Too Many Duplications in Product Image Cache?Magento 2.3.0 product image cache resizing images to look very badRewrite rule for media imagesNot able to upload or remove image on migrated products in Magento 2



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















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:



https://babybeddingdesign.com/pub/media/catalog/product/cache/b3b166914d87ce343d4dc5ec5117b502/d/u/...



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



https://babybeddingdesign.com/pub/media/catalog/product/d/u/dumbo_bedding_set.jpg



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










share|improve this question




























    1















    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:



    https://babybeddingdesign.com/pub/media/catalog/product/cache/b3b166914d87ce343d4dc5ec5117b502/d/u/...



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



    https://babybeddingdesign.com/pub/media/catalog/product/d/u/dumbo_bedding_set.jpg



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










    share|improve this question
























      1












      1








      1








      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:



      https://babybeddingdesign.com/pub/media/catalog/product/cache/b3b166914d87ce343d4dc5ec5117b502/d/u/...



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



      https://babybeddingdesign.com/pub/media/catalog/product/d/u/dumbo_bedding_set.jpg



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










      share|improve this question














      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:



      https://babybeddingdesign.com/pub/media/catalog/product/cache/b3b166914d87ce343d4dc5ec5117b502/d/u/...



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



      https://babybeddingdesign.com/pub/media/catalog/product/d/u/dumbo_bedding_set.jpg



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







      magento2






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 35 mins ago









      schnitzschnitz

      213




      213




















          1 Answer
          1






          active

          oldest

          votes


















          0














          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">
          <width>460</width>
          <height>460</height>
          <aspect_ratio>true</aspect_ratio>
          <frame>false</frame>
          </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





          share























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "479"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f270409%2fmagento-2-3-adds-white-stripes-while-resizing-a-product-image-for-a-frontend-pro%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            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">
            <width>460</width>
            <height>460</height>
            <aspect_ratio>true</aspect_ratio>
            <frame>false</frame>
            </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





            share



























              0














              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">
              <width>460</width>
              <height>460</height>
              <aspect_ratio>true</aspect_ratio>
              <frame>false</frame>
              </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





              share

























                0












                0








                0







                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">
                <width>460</width>
                <height>460</height>
                <aspect_ratio>true</aspect_ratio>
                <frame>false</frame>
                </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





                share













                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">
                <width>460</width>
                <height>460</height>
                <aspect_ratio>true</aspect_ratio>
                <frame>false</frame>
                </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






                share











                share


                share










                answered 2 mins ago









                Muhammad HashamMuhammad Hasham

                2,8952931




                2,8952931



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Magento Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f270409%2fmagento-2-3-adds-white-stripes-while-resizing-a-product-image-for-a-frontend-pro%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Can not update quote_id field of “quote_item” table magento 2Magento 2.1 - We can't remove the item. (Shopping Cart doesnt allow us to remove items before becomes empty)Add value for custom quote item attribute using REST apiREST API endpoint v1/carts/cartId/items always returns error messageCorrect way to save entries to databaseHow to remove all associated quote objects of a customer completelyMagento 2 - Save value from custom input field to quote_itemGet quote_item data using quote id and product id filter in Magento 2How to set additional data to quote_item table from controller in Magento 2?What is the purpose of additional_data column in quote_item table in magento2Set Custom Price to Quote item magento2 from controller

                    Magento 2 disable Secret Key on URL's from terminal The Next CEO of Stack OverflowMagento 2 Shortcut/GUI tool to perform commandline tasks for windowsIn menu add configuration linkMagento oAuth : Generating access token and access secretMagento 2 security key issue in Third-Party API redirect URIPublic actions in admin controllersHow to Disable Cache in Custom WidgetURL Key not changing in Magento 2Product URL Key gets deleted when importing custom options - Magento 2Problem with reindex terminalMagento 2 - bin/magento Commands not working in Cpanel Terminal

                    Aasi (pallopeli) Navigointivalikko