Complete Documentation

Jetweb Image Optimizer

The complete guide to optimizing your website images. Learn everything from installation to advanced techniques for WebP & AVIF conversion.

80%
Average File Size Reduction
20+
Global CDN Locations
<100ms
Processing Time

Overview

Jetweb Image Optimizer is a professional image optimization service that automatically converts your images to modern formats like WebP and AVIF. With file size reductions of up to 80%, your website will load faster while maintaining exceptional image quality.

Whether you're using WordPress, a custom CMS, or building a modern web application, Jetweb provides the tools you need to deliver optimized images at scale.

Features

WebP Conversion
Convert to WebP format, supported by 97%+ of browsers worldwide
AVIF Conversion
Next-gen format with even better compression (Pro & Business)
Lossless & Lossy
Choose between lossless quality or maximum compression
Smart Quality
Automatic quality optimization based on image content
Bulk Processing
Convert up to 10 images per API request
CDN Delivery
Serve images from our global edge network
WordPress Plugin
One-click integration with WordPress sites
Signed URLs
Secure image delivery with cryptographic signatures

Supported Formats

Jetweb supports all major image formats with impressive compression ratios:

Input FormatOutput FormatsTypical Savings
JPEG (.jpg, .jpeg)WebP, AVIF50-70%
PNG (.png)WebP, AVIF60-80%
GIF (.gif)WebP (animated)40-60%
WebP (.webp)AVIF20-40%

WordPress Plugin

The easiest way to use Jetweb is through our official WordPress plugin. Get started in minutes with automatic optimization for all your media uploads.

Installation

Download the plugin from your dashboard
Upload to WordPress — Go to Plugins → Add New → Upload Plugin
Activate the Jetweb Image Optimizer plugin
Configure — Go to Settings → Jetweb Image Optimizer
Enter your API key from your API Keys page

Plugin Settings

API KeyYour Jetweb API access token (required)
Output FormatWebP (all plans) or AVIF (Starter+)
Quality1-100 (recommended: 80-90)
Auto-optimizeAutomatically optimize new uploads
Use CDNServe images from Jetweb CDN

REST API

For custom integrations, use our REST API directly. See our Testing Guide for examples.

Convert Single Image

convert-image.sh
POST https://api.jetweb.app/convert

# Headers
X-Access-Token: your-api-key
Content-Type: multipart/form-data

# Body
file: [binary image data]
format: webp | avif
quality: 85

# Response Headers
X-Original-Size: 156789
X-Converted-Size: 45678
X-Savings: 71%
X-CDN-URL-WebP: https://cdn.jetweb.app/...

Batch Conversion

batch-convert.sh
POST https://api.jetweb.app/convert/batch

# Body (multipart/form-data)
files[]: [image 1]
files[]: [image 2]
format: webp
quality: 85

# Response
{
  "success": true,
  "results": [
    { "filename": "image1.jpg", "savings": "68%" },
    { "filename": "image2.png", "savings": "75%" }
  ],
  "totalProcessed": 2
}

CDN Integration

All converted images are automatically stored on our global CDN. You receive secure, signed URLs in the API response:

cdn-usage.html
<!-- Use directly in your HTML -->
<picture>
  <source srcset="https://cdn.jetweb.app/abc123.avif?..." type="image/avif">
  <source srcset="https://cdn.jetweb.app/abc123.webp?..." type="image/webp">
  <img src="/original.jpg" alt="Description">
</picture>

For detailed CDN documentation, see CDN Integration.

Quality Guidelines

Choosing the right quality setting depends on your use case:

QualityUse CaseFile Size
90-100Photography, product imagesLarger
80-90General web images (recommended)Balanced
60-80Thumbnails, backgroundsSmaller
<60Maximum compressionSmallest

Best Practices

Serve responsive images
Use srcset for different screen sizes
Use picture element
Provide WebP/AVIF with fallback for older browsers
Lazy load images
Use loading="lazy" for below-the-fold images
Set explicit dimensions
Prevent layout shifts with width/height attributes

Troubleshooting

"Monthly conversion limit exceeded"
You've reached your plan's monthly limit. Upgrade your plan or wait for the next billing cycle.
"Invalid access token"
Check that your API key is correct in the API Keys page. Tokens start with "jw_".
"File too large"
Maximum file size is 50MB. Resize or compress your image before uploading.

Need Help?

Our support team is ready to assist you with any questions or issues.