Does anyone have any thoughts on how I might integrate the TinyJPG api with Cockpit? I’d like image assets to be automatically resized and compressed according to a specified configuration (a set of image sizes). There’s a WordPress plugin for reference, but I’m wondering what would be the most elegant way to add this to Cockpit (haven’t a clue how to create addons yet!).
FYI I am interested in this because of its far superior image quality and compression compared with GD.