Ricardo Reyes portrait
Ricardo Reyes

Branded Media Library

Cloudflare Workers · DAM and CDN · 2 Domains, 1 Worker

Your own asset platform, on your own subdomain. A media pipeline on Cloudflare with no per-image SaaS pricing. Runs at Giraux Fine Jewelry today: 476,000+ files across 19 folders, 46 GB of media on one branded subdomain. Cut page weight 97% and saved ~$1,440/yr versus the previous CDN.

90 MB+
Multipart Uploads
476K+
Files Served
46 GB
Media Hosted
97%
Page Weight Cut

Six real diamonds from Giraux's catalog. Each iframe is the actual viewer used in RapNet listings and the live storefront. Drag to rotate. Pinch to zoom. Fullscreen if you want a closer look.

E5873 · 2.01ct Princess · D VS1
GXD142A · 2.02ct Asscher · D VVS1
GXD1202O · 9.1ct Cushion · L SI1
GXD1246G · 1.42ct Asscher · H SI1
DDM105B · 2.35ct Asscher · D SI1
GXD1328A · 0.71ct Cushion · I SI3

A branded admin browser on your subdomain. A public CDN that hotlinks files into your storefront, RapNet, or anywhere else. Drag-drop upload, multipart for large files, search, folders, soft-delete trash, in-browser PDF and video preview, automatic conversion between formats.

Folder structure: 19 client folders, 46 GB across 476,851 files
Content view: 1 .spin file and 120 diamond images inside a single product folder
Detail page: AB3069 spin viewer with public CDN link, MP4 export, rename, and move actions

Smart image pipeline

Every image request routes through a tiered cache. Large sizes come from pre-baked WebP versions (free and instant). Smaller sizes run through Cloudflare's image API on demand. Missing files fall back to a live transform with two safety nets. Net result: 360° product pages dropped from ~80 MB to ~2.5 MB. Competitive with Sirv at a fraction of the running cost.

360° spin viewer

Custom viewer that renders .spin JSON manifests with drag-to-rotate momentum, pinch zoom, fullscreen, and an embed mode that hides the surrounding UI so the viewer slots cleanly into RapNet listings and partner sites. Convert video to .spin or unwind a .spin back to MP4 in the admin UI.

Hardened against the usual web attacks

Every dynamic string in the admin UI is escaped against script injection. Every file operation validates its path against directory-traversal attempts. Renames and moves are atomic, with automatic conflict resolution on collision. Strict Content Security Policy. The admin is auth-gated by Cloudflare Access; the public CDN is read-only and never exposes admin endpoints.

What you actually get

  • Custom subdomain like media.yourstore.com
  • Branded UI with your logo and color palette
  • Google login via Cloudflare Access
  • Folder organization, search, and bulk operations
  • Hosts PDFs, images (PNG, JPG, WebP), and video (MP4, MOV)
  • Two-way .spin conversion: video to 360° viewer and back
  • Drop-in links into Shopify, Squarespace, RapNet, or anywhere else

Want one for your shop?

Bundled as a $1,200 add-on to any package, or quoted standalone. 30-min discovery call walks through your current asset stack and what the migration would look like.