Overview
Resize each image once with Cloudflare Images and serve srcset copies from R2. Install the native plugin from npm; this links to it.
Sandboxed Installation (EmDash 1.x)
Install directly from Admin → Plugins → Registry by searching r2-variants (publisher @rajatag.bsky.social/r2-variants), or inspect permissions before approving its sandboxed Worker isolate.