Reverse-Engineering CDN Thumbnails: Recovering Full-Resolution Originals from Aliyun OSS, Tencent COS, and Qiniu URLs
Every serious image pipeline serves thumbnails. The main image on a product page might be a 2,000px original, but the page loads a 200px version so it renders fast. When you're building an image collector, a design asset scraper, or a reverse image search tool, you constantly hit this wall: the URL in the HTML points at a thumbnail, not the original. The naive fix — "just crawl the largest version on the page" — is unreliable. The robust fix is to understand how CDN image processing works, because Aliyun OSS, Tencent COS, and Qiniu all implement the same pattern: the original file stays untouched on storage, and thumbnails are generated on-the-fly by appending processing parameters to the URL query string. That means the original URL is usually recoverable by stripping or rewriting those parameters. No re-download, no guessing. ## How Image-Processing CDNs Work All three major Chinese cloud object stores (and most Western ones too — Cloudinary, imgix, Cloudflare Images) ...