Open andrewhowdencom opened 9 years ago
I know this issue is ancient, but would you be interested in providing a PR implementing this functionality?
Sure, but it's time limited. Currently, I'm experimenting with Magento and PRometheus -- I'll fit this around that.
It would be nice to be able to modify the URL that is output in the template such that you could "drop in" another adapter for the image manipulation.
There are several image manipulation tools that return an optimized image from source image (including both SAAS options such as Imgix, and open source tools such as IIPSrv). Further, support for client hints (such as DPR) is coming, and severs that support these could return an image depending on the useragent (I'm thinking particularly of Chrome/webP).
Such services are advantageous as they're able to do more complex, efficient image processing than Magento as well they reduce some of the responsibility of the Magento stack, and can be developed independently.
I'm thinking the URL should be set in the config XML somewhere, maybe something like
`
`
Just a thought! Cheers.