Automate Next-Gen AVIF & WebP Directly in WP Media Library
SmallPict WordPress Plugin integrates seamlessly into your WordPress admin dashboard. It automatically intercepts image uploads, converts them to WebP/AVIF in the cloud, replaces front-end image tags with responsive picture tags, and supports WP-CLI and bulk optimization for unlimited sites.
wp plugin install smallpict --activateImplementation Example
php<?php
// SmallPict is fully automated out-of-the-box!
// Or use our native PHP helper anywhere in your theme:
if (function_exists('smallpict_get_optimized_url')) {
$optimized_url = smallpict_get_optimized_url(
get_post_thumbnail_id(),
['format' => 'auto', 'width' => 1200, 'quality' => 82]
);
echo '<img src="' . esc_url($optimized_url) . '" alt="Optimized Hero" loading="lazy" />';
}Integration Steps
11. Install from WordPress.org
Search for "SmallPict" in WP Admin -> Plugins -> Add New, or install via WP-CLI.
22. Connect Your API Key
Enter your free or premium API key from your SmallPict dashboard.
33. Run Bulk Optimizer
Optimize existing media library images with 1 click, or let new uploads auto-convert.
Key Benefits
- Zero server CPU consumption (compression runs off-server)
- Automatic picture tag replacement with WebP & AVIF fallbacks
- Supports WooCommerce, Elementor, Divi & Gutenberg
- Multi-site network support on all plans
Need Complete Implementation Guides & API Specs?
Explore parameter references, authentication mechanisms, error codes, and local testing instructions in our official WordPress Plugin developer guide.
Supercharge Your WordPress Plugin Image Pipeline
Experience sub-50ms AVIF and WebP image optimization in your application. Zero setup fee, instant sandbox keys, and unlimited scalability.
