getImage method of AEM Commerce Product returns only assets that are images.
If we want to use Dynamic media or any other Asset as Product image we need to use getAsset method.
Moreover we need to use thumbnail for those assets because their original rendition is not an image.
getImage method of AEM Commerce Product returns only assets that are images. If we want to use Dynamic media or any other Asset as Product image we need to use getAsset method. Moreover we need to use thumbnail for those assets because their original rendition is not an image.