Skip to content

Incorrect displaying Product Image Watermarks on Magento 2.2.5 #16929

@dzima-chyzhou

Description

@dzima-chyzhou

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: CatalogComponent: ThemeFixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions