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?
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 |
|---|---|---|---|---|
| 3 | 130 | 3 days ago | ||
| 1 | 296 | 4 weeks ago | ||
| 2 | 454 | 2 months ago | ||
| 2 | 369 | 2 months ago | ||
| 3 | 1595 | 2 months ago |