Magento 2: Resize Image
This article shows how to resize product image in Magento 2. In this example, we will be loading a product by id or sku and then resizing its image. We will also be injecting the object of Catalog Helper Image class for image resize purpose. To load the product, we will be using Magento 2’s … Read more