Stars
Forks
Watchers
Developer links
Thumbor
Born at Brazilian media giant Globo.com, Thumbor answers imaging CDNs like Imgix and Cloudinary with an HTTP service where every image variant is just a URL. Ask for /300x200/smart/your-image.jpg and Thumbor fetches the original, crops and resizes on demand, and caches the result - one source file, unlimited renditions, no batch pre-generation pipeline. The "smart" in the URL is the signature feature: OpenCV-based face detection finds people in the frame and crops around them (no more thumbnails with severed heads), and when no faces exist, feature detection finds visually important corners and computes a weighted center of mass as the focal point. Beyond cropping, a chainable filter pipeline handles brightness, contrast, grayscale, blur, red-eye removal, rounded corners, rotation, watermarks, and format conversion with quality control - applied in order via URL segments. All common image formats work out of the box, and every layer is pluggable: loaders (HTTP, local, S3), storages and result storages (local, S3, Ceph, and community backends), engines, optimizers, filters, and even custom detectors, with the awesome-thumbor list cataloging the ecosystem. URL signing prevents abuse of your processing capacity. Integrations exist for Django, Rails, Node, WordPress, and most frameworks. MIT-licensed, battle- tested for over a decade.
Benefits
- Every Size From One Source
- URL parameters generate any rendition on demand - no pre-processing pipeline to maintain.
- No More Severed Heads
- Face and feature detection crop around what matters instead of the geometric center.
- Imaging CDN Without the Bill
- Cloudinary-class transforms metered by your server, not per-image pricing.
- Extensible at Every Layer
- Pluggable loaders, storages, engines, filters, and detectors with a large ecosystem.
Features
- Smart Cropping
- OpenCV face detection with feature-point fallback computes the ideal focal point.
- On-Demand Resize and Crop
- Dimensions, fit modes, flipping, and alignment controlled entirely by URL.
- Chainable Filters
- Brightness, contrast, blur, grayscale, watermarks, rounded corners, and format conversion.
- Pluggable Storage
- Local, AWS S3, Ceph, and community backends for sources and cached results.
- Signed URLs
- HMAC signing prevents third parties from burning your processing capacity.
- Framework Integrations
- Libraries for Django, Rails, Node.js, WordPress, and more.