I'd like to override the \Grav\Common\Page\Medium\ImageMedium api class to change the url function so that images are served from Cloudinary. How would one go about this in a plugin?
Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Plugins
As a starter, I'd check onMediaLocate event hook. But I guess you'd just have to debug what you get there 🤔 Not much info about it
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 2 | 47 | 1 week ago | ||
| 2 | 56 | 4 weeks ago | ||
| 3 | 1182 | 1 month ago | ||
| 1 | 50 | 1 month ago | ||
| 3 | 74 | 2 months ago |