Automatically optimize images for faster delivery.
NordicCDN can automatically optimize images on-the-fly, reducing file sizes and improving load times without changing your source images.
Automatically serve WebP format to supported browsers:
Reduce file size by adjusting compression level:
Scale images to specific dimensions:
Intelligent cropping with configurable gravity:
Control optimization per-image using URL parameters:
/image.jpg?quality=80
Range: 1-100
/image.jpg?width=800
Scales image to maximum width (maintains aspect ratio).
/image.jpg?height=600
Scales image to maximum height (maintains aspect ratio).
/image.jpg?format=webp
Options: webp, jpeg, png, avif
/image.jpg?width=400&height=300&fit=cover
Options:
contain: Fit within dimensionscover: Fill dimensions (may crop)fill: Stretch to exact dimensions/image.jpg?width=400&height=300&fit=cover&gravity=north
Options: center, north, south, east, west, smart
Generate different sizes for responsive design:
<img
src="https://cdn.example.com/hero.jpg?width=400"
srcset="
https://cdn.example.com/hero.jpg?width=400 400w,
https://cdn.example.com/hero.jpg?width=800 800w,
https://cdn.example.com/hero.jpg?width=1200 1200w
"
sizes="(max-width: 400px) 400px, (max-width: 800px) 800px, 1200px"
>
Create consistent thumbnails:
/products/item-123.jpg?width=200&height=200&fit=cover
Balance quality and file size:
/photos/landscape.jpg?quality=75&format=webp
When enabled, NordicCDN automatically serves WebP to browsers that support it:
Accept: image/webp headerNo URL changes needed - same URL serves optimized format.
Optimized images are cached separately based on parameters:
/image.jpg → Original cached
/image.jpg?width=800 → 800px version cached
/image.jpg?width=400 → 400px version cached
/image.jpg?format=webp → WebP version cached
Each variation has its own cache entry.
Start with high-resolution images. You can always scale down, but not up.
Generate multiple sizes and use srcset:
<img
src="/image.jpg?width=800"
srcset="/image.jpg?width=400 400w, /image.jpg?width=800 800w"
sizes="(max-width: 600px) 400px, 800px"
>
Let the CDN handle format selection based on browser support.
For browsers that support it, AVIF offers even better compression than WebP.
Combine with browser lazy loading:
<img
src="/image.jpg?width=800&quality=80"
loading="lazy"
decoding="async"
>
Use tiny blurred placeholders:
<img
src="/image.jpg?width=20&quality=30"
data-src="/image.jpg?width=800&quality=80"
class="lazy-load"
>
Accept: image/webp