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;
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
magento2
add a comment |
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
magento2
add a comment |
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
magento2
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
magento2
magento2
asked 35 mins ago
schnitzschnitz
213
213
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
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
add a comment |
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
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
add a comment |
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
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
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
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
answered 2 mins ago
Muhammad HashamMuhammad Hasham
2,8952931
2,8952931
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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