[FR] Custom asset transformers #11225
Unanswered
leevigraham
asked this question in
Ideas
Replies: 2 comments 3 replies
-
Hi! Take a look at commit #10367 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be great if we could register a custom asset transformer to replace the default craft transformer. The new transformer could create urls for third-party services e.g.: imgix, cloudinary, cloudflare images.
Where this could get tricky is exposing all the options of a transformer… for example: imgix has lots and lots of options on top of the standard crop, height, width.
Maybe the image transformer could be implemented as an application component like db, cache etc. https://www.yiiframework.com/doc/guide/2.0/en/structure-application-components
It looks like there is some code related to this idea:
Beta Was this translation helpful? Give feedback.
All reactions