Configure quality, format, lazy loading, and more.
Settings
Go to Settings → Spronta Images in your WordPress admin.
Quality
Controls the perceptual compression level for all images.
| Mode | Description |
|---|---|
| High | Best quality, larger files. Use for photography sites. |
| Medium | Recommended. Visually identical, 40-70% smaller. |
| Low | Aggressive compression. Good for thumbnails and previews. |
Format
| Mode | Description |
|---|---|
| Auto | Best format for each browser (recommended) |
| WebP | Always serve WebP |
| AVIF | Always serve AVIF (smaller but slower to encode) |
Auto-rewrite images
When enabled, the plugin automatically rewrites all image URLs in your post content. Disable this if you only want attachment URLs rewritten (not inline images in posts).
Lazy loading + blur placeholder
When enabled, the plugin:
- Adds a
data-spronta-blurhashattribute to images that have a blurhash - Injects a tiny inline script (~1.2KB) that decodes the blurhash and shows it as a background while the image loads
- Removes the placeholder background once the image loads
The script is inlined in the footer — no external requests, no render blocking.
All settings
| Setting | Option name | Default | Values |
|---|---|---|---|
| Quality | spronta_quality | medium | high, medium, low |
| Format | spronta_format | auto | auto, webp, avif |
| Auto-rewrite | spronta_auto_rewrite | true | true, false |
| Lazy loading | spronta_lazy_loading | true | true, false |
| CDN URL | spronta_cdn_url | — | Custom CDN URL override |
All settings are stored as WordPress options and can be managed via wp_options or the WP CLI:
wp option get spronta_quality
wp option update spronta_quality high