- # 2024-02-12 Dmitrii Fediuk https://upwork.com/fl/mage2pro
- # 1) "How to adapt `Magento\Catalog\Model\View\Asset\Image::getImageInfo()` to Windows in Magento ≥ 2.3.0?":
- # https://mage2.pro/t/6412
- # 2) "The `Swissup_Pagespeed` module breaks URLs of images in Windows": https://github.com/mydreamday-fi/site/issues/19
- # 3) "The `Swissup_Pagespeed` module breaks URLs of products' images in Windows": https://github.com/mydreamday-fi/site/issues/18
- # 4) "The `Swissup_Pagespeed` module breaks URLs of categories' images in Windows":
- # https://github.com/mydreamday-fi/site/issues/17
- # 5) The original code:
- # https://github.com/magento/magento2/blob/2.4.6/app/code/Magento/Catalog/Model/View/Asset/Image.php#L272-L275
- return "{$this->getModule()}/{$this->getMiscPath()}" . $this->getFilePath();