What Optimole does on your site
Optimole doesn’t compress the files in your Media Library. Instead, it rewrites image URLs so they’re served from an Amazon CloudFront CDN. On every visit, the service picks the size, quality and format (WebP or AVIF when the browser supports them) that fit the visitor’s screen. Your originals stay on your server, and all the processing happens in Optimole’s cloud.
The plugin adds jQuery-free lazy loading, smart cropping, watermarks and exclusions, and it can also serve and minify your CSS and JS files. Paid plans add image offloading to Optimole Cloud, with one-click rollback.
Optimole was launched in 2018 by the Codeinwp team, which is tied to Themeisle. The service is billed by monthly visits, not by number of images, and you need an Optimole account even on the free plan.
Which sites Optimole is a good fit for
Optimole works well when you want properly sized images without managing formats, sizes and a CDN yourself:
- Sites working on their Core Web Vitals: each visitor gets an image sized for their screen, and lazy loading leaves the first images on the page alone.
- Modest hosting plans: compression and conversions use no CPU or disk space on your server.
- Stores and portfolios with lots of photos: the number of images is unlimited, only traffic counts, and watermarks protect your photos.
- Agencies: every plan covers unlimited sites, sharing one visit quota.
It’s not the right pick if your site gets more than 2,000 visits a month and you don’t want a subscription, or if you’d rather your images didn’t depend on a third-party service: ShortPixel and Imagify compress the Media Library files themselves, which your server keeps serving.
Optimole strengths and limitations
Strengths
- The right size every time. Dimensions, quality and format are matched to each visitor’s device.
- No work for your server. Originals are left untouched and every conversion happens in Optimole’s cloud.
- Unlimited images and sites. Every plan, free included, covers unlimited images and sites; only the visit count changes.
- Reversible. Deactivate the plugin and image URLs point back to your server, as long as you haven’t moved the originals to the cloud.
Limitations
- A very low free quota. 2,000 visits a month, plus 20,000 with the Optimole badge shown on your site; past that, the free account is disabled unless you upgrade.
- You depend on the service. If the account is suspended or the subscription lapses, Optimole stops optimizing and your pages load the heavier original images.
- Cloud storage and custom domain cost extra. Offloading starts with Starter; serving images from your own domain (CNAME) requires Business.
- Repeated flaws in 2026. Several XSS bugs exploitable without an account were patched within a few months, including one incomplete fix.
The Optimole settings we recommend
Settings live under Optimole > Settings once your account is connected. The detailed toggles in the Compression section only appear in “Custom” mode; click “Save changes” after each screen.
| Setting | Recommended value | Why |
|---|---|---|
| Compression Mode Optimole > Settings > Advanced > Compression | “Speed Optimized” (default on new installs), “Quality Optimized” for a portfolio | Both modes keep automatic AVIF or WebP and metadata stripping; “Quality Optimized” also turns on Retina quality. |
| Automatic Best Image Format Selection Same screen, “Custom” mode | On (default) | Optimole picks AVIF or WebP based on the browser. |
| Strip Image Metadata Same screen, “Custom” mode | On (default), unless you need to keep your copyright notices | Removes EXIF and IPTC data, including camera settings and copyright. |
| Serve CSS & JS Through Optimole Same screen, “Custom” mode | Off (default); turn on only after a full test | Files then go through the CDN and get minified: test menus, forms and checkout. |
| Limit Image Sizes Optimole > Settings > Advanced > Resize | On, 1920 x 4000 px (defaults) | Stops a 6,000 px photo from being sent, but turns off Retina images. |
| Enable Lazy Loading & Scaling Optimole > Settings > Advanced > Lazyload | On, “Smart Loading” method | Optimole advises against “Native Browser Loading” for most sites, because it disables automatic scaling. |
| Skip lazy loading for first images Same screen, Loading Method | 2 (default), or the number of images visible at the top of the page | The main image shows right away instead of waiting for the lazy loading script. |
| Enable Optimole Badge Optimole > Settings > General | Your call, before you hit the quota | 20,000 extra free visits in exchange for a visible badge; it won’t revive an account that’s already suspended. |
| Store Your Images in Optimole Cloud Optimole > Settings > Image Storage | Off, unless you’re really short on disk space | If the subscription ends or the plugin is deactivated without a rollback, moved images stop displaying. |
- View the source of a page in a private window:
imgtags should point to a subdomain ofi.optimole.com. - Clear your caching plugin’s page cache after each settings change, or the old URLs keep being served.
- Test the home page on mobile: the main image must not be lazy loaded.
Optimole security: several unauthenticated XSS bugs in 2026
To measure which images are visible on load, Optimole receives data sent by visitors’ browsers on a public REST API route. That’s where the plugin’s most serious XSS vulnerabilities came through:
- CVE-2026-5217, fixed in 4.2.3: unauthenticated stored XSS via the srcset descriptor sent to the
/wp-json/optimole/v1/optimizationsroute (CVSS 7.1). - CVE-2026-84829, fixed in 4.2.12: the previous fix was incomplete; versions 4.2.3 through 4.2.11 were still open to an unauthenticated stored XSS shown to every visitor.
- CVE-2026-77365, fixed in 4.2.11: unauthenticated stored XSS via the
aparameter (above-the-fold images). - CVE-2026-96530, fixed in 4.2.15: from version 4.0.0 through 4.2.14, any logged-in user, even a Subscriber, could read the Optimole account credentials through a dashboard widget.
- CVE-2025-11519, fixed in 4.1.1: an Author account could offload media it didn’t own to the cloud through the
move_imageREST API route (CVSS 4.3).
Stay on version 4.2.15 or later and turn on auto-updates for Optimole under Plugins (see our guide to plugin auto-updates). With the Pro version, WP Feint removes the optimole-wp folder and the plugin’s script IDs from your URLs, which makes it harder for bots hunting these flaws to spot it, without replacing the update. Images served from i.optimole.com and the optimoleData JavaScript object stay visible, since they’re part of the service itself.
What WP Feint hides for Optimole
Pro Handled by WP Feint Pro only
The free version does not know the traces specific to Optimole: without Pro, only generator tags are removed, as for any plugin.
Free version
Handled by WP Feint Pro only
With Pro
- folder name
- tag IDs
Still visible
- JavaScript variables
optimoleData - files served by the vendor
*.i.optimole.com
These traces stay because the plugin needs them to work (scripts, styles, cookies) or because they come from the server.
Optimole frequently asked questions
Is Optimole really free?
Yes, up to 2,000 visits a month with unlimited images, plus 20,000 visits if you display the Optimole badge. If you go over, Optimole emails you and gives you a few days to upgrade; otherwise your pages fall back to the original images.
How does Optimole count visits?
Each visitor counts as one visit per day, however many pages they view. Only a burst of image requests from the same source, typical of scraper bots, can count for more.
How much do Optimole’s paid plans cost?
The pricing page lists Starter at $22.90 a month or $229 a year for 48,000 visits a month, and Business at $47 a month or $469 a year for 120,000 visits, with a custom domain.
What happens if I deactivate Optimole?
Image URLs go back to pointing at your server. If you moved your images to Optimole Cloud, run the rollback from the settings first, or those images will return a 404 error.