Magento2: Incorrect displaying Product Image Watermarks on Magento 2.2.5

Created on 19 Jul 2018  路  11Comments  路  Source: magento/magento2

Summary

Background of Product Image Watermarks is displayed incorrect if it is transparent.

Preconditions

  1. Magento 2.2.5 CE with sample data
  2. PHP 7.0.30

Steps to reproduce

  1. Login to Admin Panel
  2. Create a simple product with any configuration and upload any product image (the image that I uploaded below)
    mb01-blue-0
  3. Go to Content -> Design -> Configuration
  4. Click on the edit action on the Global Magento Luma theme
  5. Go to the Product Image Watermarks section
  6. Upload any PNG image with a transparent background for example in the small category (the image that I uploaded below)
    58480ecccef1014c0b5e492c
  7. Set Image Opacity to 10
  8. Set Image Size to 40x50
  9. Set Image Position Tile
  10. Save Configuration
  11. Go to the product view on store front and look at the result

Expected result

  1. Product Image Watermarks are displayed over a product image
  2. Image Watermarks size is 40x50
  3. Image Watermarks position is tile
  4. Image Watermarks opasity is 10
  5. Background of Image Watermarks is transparent as it is transparent on an uploaded image

Actual result

  1. Product Image Watermarks are displayed over a product image
  2. Image Watermarks size is 40x50
  3. Image Watermarks position is tile
  4. Image Watermarks opacity is 10
  5. Background of Image Watermarks IS NOT transparent.
    screenshot from 2018-07-19 10-35-21
Catalog Theme Fixed in 2.2.x Fixed in 2.3.x Clear Description Confirmed Format is valid Ready for Work Reproduced on 2.2.x Reproduced on 2.3.x

Most helpful comment

Hello @chizhov13
Can you please check solution #17013

All 11 comments

Hi @chizhov13. Thank you for your report.
To help us process this issue please make sure that you provided the following information:

  • [ ] Summary of the issue
  • [ ] Information on your environment
  • [ ] Steps to reproduce
  • [ ] Expected and actual results

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento-engcom-team give me {$VERSION} instance

where {$VERSION} is version tags (starting from 2.2.0+) or develop branches (2.2-develop +).
For more details, please, review the Magento Contributor Assistant documentation.

@chizhov13 do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?

  • [ ] yes
  • [ ] no

@magento-engcom-team give me 2.2.5 instance

Hi @chizhov13. Thank you for your request. I'm working on Magento 2.2.5 instance for you

Hi @chizhov13, here is your Magento instance.
Admin access: https://i-16929-2-2-5.engcom.dev.magento.com/admin
Login: admin Password: 123123q
Instance will be terminated in up to 3 hours.

@magento-engcom-team yes. I am able to reproduse this issue. Just go to the product view on the store front and look at the result.

Hello @chizhov13, thank you for your report.
We've acknowledged the issue and added to our backlog.

Hello @chizhov13
Can you please check solution #17013

Hello @ronak2ram thank you for your response.

I checked your solution on Magento 2.2.5, everything is okey. But then I have tried to reproduce this bug on Magento 2.1.14 and it still does not work properly.

I see that this issue is opened for 2.2.x and 2.3.x. but also need to fix it on Magento 2.1.x

@ronak2ram thanks it is working now on magento 2.2.4

Hi @chizhov13. Thank you for your report.
The issue has been fixed in magento/magento2#17013 by @ronak2ram in 2.2-develop branch
Related commit(s):

The fix will be available with the upcoming 2.2.7 release.

Hi @chizhov13. Thank you for your report.
The issue has been fixed in magento/magento2#17623 by @ronak2ram in 2.3-develop branch
Related commit(s):

The fix will be available with the upcoming 2.3.0 release.

Was this page helpful?
0 / 5 - 0 ratings