Closed gtlt closed 7 years ago
I made a pull request : https://github.com/staempfli/magento2-module-image-resizer/pull/5
Hi @gtlt
Thanks for your contribution. I merged the PR and added a small change in your code. You can find these changes on version 1.1
Resizer doesn't work if you have a media url different from your imageUrl. Example : base site : www.example.com => base of the imageUrl media url : cdn.example.com => strpos fails
fix => use the parse_url function