Edge Images
Edge Images automatically uses your edge transformation service (e.g., Cloudflare, Accelerated Domains, Imgix, etc.) to apply performance optimizations to markup. ⚠️ Important: This plugin requires a supported edge provider with image transformation features enabled (e.g., Cloudflare Pro, BunnyCDN, etc). See the Requirements section for details. 🚀 Why should I use Edge Images? Instant Performance Boost: Automatically optimize and serve images in modern formats (WebP/AVIF) through your existing CDN Zero Configuration: Works out of the box with your existing images and themes No Local Processing: All transformations happen at the edge – no server load or storage overhead Perfectly Sized Images: Automatically generates the exact image dimensions needed for every device and viewport Cost Effective: No need for expensive image optimization services or additional storage 🎯 Perfect For Sites with lots of images that need optimization Performance-focused developers and site owners Anyone using Cloudflare, BunnyCDN, or similar services Sites that want modern image formats without the complexity Developers tired of managing multiple image sizes 💡 How It Works WordPress typically creates multiple copies of each uploaded image in different sizes. This approach is inefficient and often results in: Images that are too large or small for their display size Unnecessary storage usage Missing sizes for modern responsive designs Lack of modern format support (WebP/AVIF) Edge Images solves these problems by: Intercepting image requests Determining the optimal size and format needed Using your CDN to transform the image on-demand Caching the result for future requests ⚡️ Features Core Features Automatic WebP/AVIF conversion Intelligent responsive image handling Smart srcset generation Automatic image optimization Optional element wrapping Zero local processing Maintains original images Advanced Features Fine-grained transformation control Multiple CDN provider support Developer-friendly filters Yoast SEO & Rank Math integrations Bricks integration Gutenberg compatibility 🔌 Supported Providers Cloudflare (Pro plan or higher) Accelerated Domains BunnyCDN Imgix 🛠️ Technical Example Your Code echo wp_get_attachment_image(1, [640,400], false, ['fit' => 'contain']); What WordPress Usually Outputs That’s multiple different images files, none of which are the right size! What Edge Images Outputs That’s a range of perfectly sized options for different devices and viewports, automatically optimized images in modern formats, served from your CDN, futureproofed for supporting next-generation capabilities, and with no storage overheads. 🎨 Customization Transform Parameters Control every aspect of image transformation with attributes like: * width/height: Exact dimensions * fit: Resizing behavior (contain, cover, crop) * quality: Compression level * format: Output format (auto, webp, avif) Filtering Disable transformations globally or selectively: // Disable all transformations add_filter('edge_images_disable', '__return_true'); // Disable for specific images add_filter('edge_images_disable_transform', function($should_disable, $html) { if (strpos($html, 'example.jpg') !== false) { return true; } return $should_disable; }, 10, 2); // Override max width for constrained content add_filter('edge_images_max_width', function($max_width) { // Example: Use a different max width for single posts if (is_single()) { return 800; } return $max_width; }); // Customize srcset width multipliers add_filter('edge_images_width_multipliers', function($multipliers) { // Add more granular steps between sizes return [0.25, 0.5, 0.75, 1, 1.25, 1.5, 2]; }); 🔧 Requirements Essential A supported edge provider with image transformation features enabled: Cloudflare Pro plan or higher with Image Resizing enabled Accelerated Domains with Image Resizing enabled BunnyCDN with Image Processing enabled Imgix with a configured source Technical PHP 7.4 or higher WordPress 5.9 or higher ✅ Getting Started Install and activate the plugin Go to Settings > Edge Images Select your CDN provider That’s it! Your images will now be automatically optimized 🤝 Integrations Yoast SEO Automatically optimizes images in: Meta tags (og:image, etc.) Schema.org output XML sitemaps 🔒 Privacy Edge Images processes images through third-party edge providers. Here’s what you need to know about privacy: Data Processing Images are processed through your chosen edge provider (Cloudflare, Accelerated Domains, etc.) No personal data is collected or stored by the plugin itself Image URLs are passed to the edge provider for transformation Original images remain on your server; only public URLs are processed Edge Provider Privacy Different providers have different privacy implications: Cloudflare: Images are processed according to Cloudflare’s Privacy Policy Accelerated Domains: Images are processed according to Accelerated Domains’ Privacy Policy BunnyCDN: Images are processed according to BunnyCDN’s Privacy Policy Data Storage The plugin stores your selected settings in your WordPress database No user data is collected or stored No analytics or tracking is performed Cache files may be created in your uploads directory for optimization GDPR Compliance The plugin is GDPR-compliant as it does not collect, store, or process personal data Users should review their chosen edge provider’s privacy policy and data processing terms Site owners should update their privacy policy to reflect their use of third-party image processing services Development GitHub Repository Report Issues
Top keywords
- images27×3.43%
- image19×2.41%
- edge15×1.91%
- privacy9×1.14%
- cloudflare8×1.02%
- provider8×1.02%
- width7×0.89%
- accelerated6×0.76%
- accelerated domains6×0.76%
- automatically6×0.76%
- bunnycdn6×0.76%
- data6×0.76%
Image Optimizer, Resizer and CDN – Sirv
Accelerate your website and improve SEO with Sirv – the most complete image CDN and media optimization plugin for WordPress & WooCommerce. Automatically resize, compress and serve videos & images in next-gen formats, from Sirv’s fast CDN in 25 major cities. Why is Sirv the best choice for WordPress image optimization? Automatic optimization Automatic scaled images Automatic next-gen formats (AVIF & WebP) Smaller files than any other WP optimization plugin Incredibly fast CDN Perfect on WooCommerce Lazy loading The best WordPress image optimizer – you don’t need to lift a finger. Just install the plugin and Sirv will automatically serve perfectly scaled and optimized images possible file-size. Every option is easily configured, if you wish to change the defaults. Optimize your WordPress Media Library Automatically optimize your existing WordPress media library images, without lifting a finger. Sirv can automatically copy your media library to Sirv, from where images will be served as highly optimized images across Sirv’s fast, global WordPress CDN (19 worldwide locations). All these images (and more) can be automatically optimized by Sirv: Media gallery images Featured images WooCommerce product & category images Images added via other plugins or scripts Images added via “Add Media” button CSS background images Simply enable the Sirv CDN and images will sync to your Sirv account automatically. See the complete list of features of Sirv’s fresh new take on media hosting and optimization. Take your WooCommerce sales to another level Optimization & CDN delivery of all your product images Ultra-deep image zoom, 3D GLB models and 360-spin for your media viewer Add image watermarks Add text captions Serves your files wherever you need them – websites, apps, feeds, social media, email campaigns Image zoom Sirv loves huge images – it can zoom deep inside them very fast. No matter how big, images load fast, just like zooming on a Google Map. The bigger your images, the more impressive this image zoom is – perfect if you have really high quality images. Video streaming Any video you upload to Sirv will be converted to different resolution video streams, for instant playback. Every user will receive the most optimal stream for their device, screen and network connection speed. 3D models (GLB and USDZ) Upload your 3D models to Sirv and embed them in your web pages and product galleries. It’s easy and automated with Sirv Media Viewer. No coding needed. It also provides Augmented Reality (AR) automatically. 360 spin Shoppers adore spinning products around to see them from all sides. If you’re selling something online, maybe with WooCommerce, Sirv provides a stunning 360-degree photography experience. Simply upload a set of photos and a 360 spin will be immediately ready to embed in your page. It feels incredible on desktop and mobile alike, especially the big full-screen 360 spin view. Try demos. Free and paid plans are available, depending on your needs. See “Price Plans” below. What our users say ★★★★★ “We’ve halved the load time on mobiles of a site that we had already done quite a bit of work on to get image sizes down.” @martingfisher ★★★★★ “So far the best CDN plugin for WordPress. Please, never disappear!” @mavenickster ★★★★★ “I was looking for a CDN fast and easy (no need to code)! Sirv is the best – Just upload your photos to your WordPress library and voilà “roulez jeunesse!!!” (French expression). Very good service!” @disconance ★★★★★ “Sirv is fantastic! I have a lot of images on my website, and most of them are large, which resulted in slow site speeds, even with a CDN. What I love about Sirv is that they offer a CDN service, but also dynamically resize images based on the user’s browser/device, and serve the right file type. It has meant HUGE speed improvements on my website.” @basellen Optimal format (every time) Google loves next-gen image formats for SEO, but it’s a pain to convert all your images and keep track of them. Sirv solves that. It automatically delivers images to each user in the most optimal format. Usually that’ll be AVIF or WebP and the filesize is dramatically smaller, so Google will reward you with better search ranking. Sirv’s intelligence always serves the smallest possible file format to each users’ browser. It is 100% automatic. Plus, images are automatically scaled down to the suitable width/height and they’re lazy loaded, so you’ll really have the best possible image solution for WordPress. Price plans Sirv is a professional image hosting and WordPress CDN service. Most websites require a paid plan. Sirv also provides a free plan for light usage (500 MB storage and 2 GB monthly transfer). Free 0.5 GB storage, $0/month Business 5 GB storage, $19/month Business 12 GB storage, $39/month Business 20 GB storage, $59/month Business 40 GB storage, $89/month Business 60 GB storage, $119/month Business 100 GB storage, $199/month Enterprise: tailored to your needs – Contact us. Create a Sirv account. We believe in fair and transparent pricing: Upgrade/downgrade any time. Start/stop any time. Complete and easy access to your images. No credit card required for the Free plan. Further reading Keep learning with these helpful resources: Sirv for WordPress documentation. Sirv for WooCommerce documentation. The official Sirv Help Center & Documentation. Serve images from your own domain name. Next steps… Create your Sirv account Login to your Sirv account