Magento 2: Get Height Width of Image
This article shows how get height and width of the media images in Magento 2. In this example, we will load product by id or sku and then fetch and display height and width of product small image. To load the product, we will be using Magento 2’s Service Layer for this task. Use of … Read more