Existing R2 buckets
Use public R2 URLs as the source for product media, uploads, previews, CMS images, avatars, and galleries.
Keep product photos, avatars, screenshots, CMS media, and generated previews in Cloudflare R2. Put Skymage in front of public R2 object URLs so apps, APIs, templates, and frontend clients can request exact dimensions, crops, WebP or AVIF output, compression, and cached delivery.
https://demo.skymage.net/v1/media.example.com/products/sku-42.jpg?w=520&h=390&fit=cover&f=webp&q=82
https://demo.skymage.net/v1/media.example.com/users/42/avatar.png?w=96&h=96&fit=cover&f=webp
https://demo.skymage.net/v1/media.example.com/previews/report-42.png?w=960&fit=inside&f=avif&q=84
A useful R2 image optimization test starts with one public object path, one repeated surface, and one helper or API response that can add Skymage parameters before the image reaches the browser.
Use public R2 URLs as the source for product media, uploads, previews, CMS images, avatars, and galleries.
Keep your current S3-compatible storage path and render optimized URLs from templates, serializers, or frontend components.
Test resize, crop, compression, WebP, and AVIF through URL parameters before adding workers or extra R2 object variants.
The first rollout should answer whether Skymage can fetch the public R2 URL, return the right variant, keep visual quality, and reduce transfer size on a repeated surface.
| R2-backed surface | Skymage URL pattern |
|---|---|
| Product or listing card | ?w=520&h=390&fit=cover&f=webp&q=82 |
| Avatar or logo | ?w=96&h=96&fit=cover&f=webp |
| Dashboard preview | ?w=960&fit=inside&f=avif&q=84 |
| Gallery detail | ?w=1440&fit=inside&f=webp&q=85 |
Use one public R2 URL or CDN-backed bucket path that Skymage can fetch consistently.
Record the real card, avatar, preview, or gallery dimensions before choosing parameters.
Add Skymage URL generation in one template helper, serializer, API response, or frontend component.
Compare bytes, cache behavior, visual quality, and rollout complexity before touching more R2 object paths.
The free audit will identify whether your public R2 URL, current template surface, and desired variants fit a low-risk Skymage rollout before adding workers or derived objects.
Create a Skymage CDN URL, prepend it to your existing image URLs, and let the edge handle optimization, transforms, and delivery.
No credit card required. 14-day free trial.