Magento 2.3 adds white stripes while resizing a product image for a frontend product list Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm 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
A term for a woman complaining about things/begging in a cute/childish way
If Windows 7 doesn't support WSL, then what is "Subsystem for UNIX-based Applications"?
How much damage would a cupful of neutron star matter do to the Earth?
Why weren't discrete x86 CPUs ever used in game hardware?
What to do with repeated rejections for phd position
Is there hard evidence that the grant peer review system performs significantly better than random?
How does Belgium enforce obligatory attendance in elections?
Project Euler #1 in C++
Co-worker has annoying ringtone
preposition before coffee
What would you call this weird metallic apparatus that allows you to lift people?
Putting class ranking in CV, but against dept guidelines
How do I find out the mythology and history of my Fortress?
C's equality operator on converted pointers
What is an "asse" in Elizabethan English?
Misunderstanding of Sylow theory
Why are my pictures showing a dark band on one edge?
How can I set the aperture on my DSLR when it's attached to a telescope instead of a lens?
1-probability to calculate two events in a row
How to identify unknown coordinate type and convert to lat/lon?
Central Vacuuming: Is it worth it, and how does it compare to normal vacuuming?
Why can't I install Tomboy in Ubuntu Mate 19.04?
An adverb for when you're not exaggerating
How does the math work when buying airline miles?
Magento 2.3 adds white stripes while resizing a product image for a frontend product list
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm 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 2 days ago
schnitzschnitz
234
234
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
1) will try and see if this fix it.
– schnitz
2 days ago
2) it is enable but not show on front end.
– schnitz
2 days ago
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
1) will try and see if this fix it.
– schnitz
2 days ago
2) it is enable but not show on front end.
– schnitz
2 days ago
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
1) will try and see if this fix it.
– schnitz
2 days ago
2) it is enable but not show on front end.
– schnitz
2 days ago
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 days ago
Muhammad HashamMuhammad Hasham
2,9612931
2,9612931
1) will try and see if this fix it.
– schnitz
2 days ago
2) it is enable but not show on front end.
– schnitz
2 days ago
add a comment |
1) will try and see if this fix it.
– schnitz
2 days ago
2) it is enable but not show on front end.
– schnitz
2 days ago
1) will try and see if this fix it.
– schnitz
2 days ago
1) will try and see if this fix it.
– schnitz
2 days ago
2) it is enable but not show on front end.
– schnitz
2 days ago
2) it is enable but not show on front end.
– schnitz
2 days ago
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