cancel
Showing results for 
Search instead for 
Did you mean: 

Product Images Distorted in WCEM Product Catalog

Former Member
0 Kudos

Hello All:

Our product images are displayed distorted (squished and stretched) in the WCEM product catalog, specifically in the catalog listings, thumbnails, and search results, however, if the user is viewing the Product Details page, the main image appears exactly as the original. This seems to be the case no matter what size we use for the image.

The image being referred to is the one attached to the Default Image in MDM for the given product record.  In researching, we found that the Image Variants table, accessed via the MDM Console, controls what dimensions of the image variants that are created for thumbnails, however, attempts to change these values in the console (even under the Admin role) are not permissible (including when the repository is not started).  Attempts to create additional Image Variant records also do not allow the Admin user to specify deminsions.

Question is one: Is the Image Variant table the source of the issue.  If not, what is causing the images to be distorted. Attempts to resize the image using outside tools and then reloading does NOT affect the images displayed in the listings (in block or list view) or the thumbnails displayed on the Product Details page even though the changes are visible in the main image on the Product Details page.

Any assistance you can provide would be greatly appreciated.

Thanks,

Andy

Accepted Solutions (1)

Accepted Solutions (1)

former_member224482
Active Contributor
0 Kudos

Hi Andy,

Yes, the image variant table is the source of the issue. The WCEM solution use the MDM system variant Thumbnail as the small image for the block/list view.

The MDM Admin should be able to create new variants, see attachment.

I see 2 solutions to resolve this problem:

1. Do not use the thumbnail variant. If you search in the catalog/bo code, you should find a method called 'convertImageVariant'. Override the implementation to always return ImageVariantId.ORIGINAL.

2. If the size of the original image cause performance issue, a different thumbnail image variant in MDM is needed. In the same method 'convertImageVariant', return your ImageVariantId when the variant is equal to ImageVariant.THUMBNAIL.

Regards,
Robin

Former Member
0 Kudos

Thank you Robin. 

Answers (0)