On-Demand Image Transformations
Stop pre-generating dozens of image sizes. Transform images on-demand with URL parameters. Automatic CDN caching and optimization included.
How URL-Based Transformations Work
Transform any image by adding parameters to the URL. No preprocessing required.
Upload Once
Upload your original high-quality image to Icefiery. Store one source image instead of dozens.
Transform with URLs
Add parameters to the image URL to resize, change format, or adjust quality on-the-fly.
Automatic Caching
Transformed images are cached globally on our CDN for lightning-fast delivery worldwide.
<!-- Original image, optimized --><img src="https://res.icefiery.com/res/img_8k2x9m4q7z.jpg" /><!-- Resized and optimized --><img src="https://res.icefiery.com/res/img_8k2x9m4q7z.jpg?width=200&height=200" />
Common Transformation Examples
Smaller size and WebP format for mobile devices with slower connections.
Higher resolution and quality for desktop displays with faster connections.
Perfect square thumbnails for profile pictures and gallery previews.
Responsive Images Made Simple
Create responsive image sets with a few lines of code. No build tools required.
// Responsive images made easyconst breakpoints = [320, 768, 1024, 1200];const imageUrl = "https://res.icefiery.com/res/img_8k2x9m4q7z.jpg";const srcSet = breakpoints.map((width) => `${imageUrl}?width=${width}&format=webp ${width}w`).join(", ");// Use in your componentfunction ResponsiveImage({ imageId, alt }) {const baseUrl = `https://res.icefiery.com/res/${imageId}`;return (<imgsrc={`${baseUrl || "/placeholder.svg"}?width=800&format=webp`}srcSet={srcSet}sizes="(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"alt={alt}/>);}
More Transformation Examples
// Resizeconst thumbnail = `${imageUrl}?width=150&height=150`;// Format conversion with qualityconst optimized = `${imageUrl}?format=webp&quality=85`;// Smart resize for different devicesconst mobile = `${imageUrl}?width=400&format=webp&quality=80`;const desktop = `${imageUrl}?width=1200&format=webp&quality=90`;// Responsive constraints (maintains aspect ratio)const responsive = `${imageUrl}?min_width=300&max_width=800&format=webp`;const constrainedHeight = `${imageUrl}?max_height=400&max_width=600`;
Supported Parameters
width
Resize width (px)height
Resize height (px)min_width
Minimum width (px)max_width
Maximum width (px)min_height
Minimum height (px)max_height
Maximum height (px)format
webp, jpg, pngquality
1-100Why URL-Based Transformations?
Simplify your image workflow and improve performance with on-demand transformations.