What problem does it solve?
This Skill tackles the challenges of serving optimized, secure, and responsive images in web applications, preventing bandwidth waste and ensuring compatibility across devices without manual processing.
Core Features & Use Cases
- URL Signing and Security: Generates tamper-proof URLs using HMAC-SHA256 to protect against abuse.
- S3 Integration and Processing: Fetches from S3-compatible storage like Garage, applies resizing, format conversion (WebP/AVIF), and effects like blur or sharpen.
- Format Negotiation: Automatically selects optimal formats based on client Accept headers for better performance.
- Use Case: In a content platform like s-nc.org, use this to generate responsive image srcSets for user-uploaded photos, ensuring fast loading on mobile with automatic WebP delivery and signed URLs to control access.
Quick Start
Generate a signed imgproxy URL to resize an S3 image to 800px wide in WebP format using smart gravity.