Contributors: optimole
Tags: image optimization, convert webp, responsive images, lazy load, images, optimization, performance, photos
Requires at least: 4.7
Tested up to: 5.3
Requires PHP: 5.4
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
Automatically compress, optimize and serve scaled images along with next-gen WebP all from CloudFront CDN. Lazy load included ⚡
What makes Optimole so special?
- Smaller images. Same quality
- Fully automated; set and forget
- Supports all image types
- Supports both Retina and WebP images
- Serves images from a global CDN for free
- Optimizes based on the visitor's actual device (no more guesswork and width estimations)
- Full support for page builders like Elementor
- Lazy load without jQuery (better)
- Fully functional free version (we have paid plans as well)
Optimole is the all-in-one solution to all of your image optimization needs. With full automation and a range of evolutionary features, Optimole makes it easy to clean up your heavy images and bloaty pages.
Optimole optimizes your images in real-time with a cloud-based system to speed up your website and deliver high-quality images perfectly sized for every device. With a one-click setup and minimal footprint, you can start improving your site in minutes.
You'll be free to concentrate on other aspects of your site with Optimole's set and forget image optimization.
So, if you have been looking for one plugin that provides lazy loading with a CDN and perfectly sized images, then Optimole is perfect for you.
How does it do all these great things? Optimole's format based optimization is handled in the cloud on a case-by-case basis. Once you have the plugin installed, Optimole will replace all of your image URLs with cloud-based URLs. We don't replace any images on your website, we compress images on the fly. When the image is requested, Optimole will apply the specific transformations required by the device and deliver it to your visitors. This means every image is perfectly sized for every device. The final result will be cached for a month to ensure ongoing fast delivery and more site speed.
How many images can be optimized? With the basic plan, you will be able to optimize unmetered number of images for up to 5k monthly visits. All delivered from more than 200+ locations around the globe. Better yet. The free version is fully functional and includes all of the following great features:
Format Based Optimization Our cloud-based transformation process means we can optimize images based on the format as well as serve images in next-gen formats. If your visitor is using a WebP capable browser, then Optimole will convert to WebP the image and send it to their device.
Image Optimization Our algorithms crunch the numbers to provide the best lossy or lossless optimization for the best-looking image at the smallest size.
Exact Used Size Optimole will use just one image and resize it delivering a responsive image to fit perfectly on your visitors' devices. No more awkward guesses at potential screen widths. Serve scaled images instantly.
Retina Support Optimole can detect Retina screens and deliver an image with the perfect Digital Pixel Ratio (DPR).
Smart Cropping If you'd like to keep the most interesting part of an image; then you can enable smart cropping to help keep the image well sized without losing focus.
No Content Shifting The lazy load option defer offscreen images and is perfectly sized for the container to provide a seamless viewing experience without any content shifting.
Watermarks Who has time for adding watermarks? Optimole will do the hard work for you. Just set it up and pick your preferred location and Optimole will add the watermark to all of your future images.
Downgrade Quality For Slower Connections Optimole provides an option to downgrade the image quality when it detects a slower network. Efficiently encode images by making up to 40% smaller with this neat feature to help visitors in a bottleneck.
Compatibility Optimole loves page builders and has unique tweaks to solve image replacements. It also has full compatibility with the new block editor in WordPress 5.0
CDN Optimole provides free access to a AWS CloudFront CDN with edge locations in more than 200 cities around the globe.
What About Security? The stripped EXGIF data is not stored on our service. Optimole likes to work behind the scenes, and won't interact with your site's visitors. No data is collected but you can check the Terms of Service
Smooth And Clean Optimole can be installed in a few clicks and then left in the back-end to do its job. Not happy with it? Optimole has a clean uninstall and your site will be just as before Optimole was installed.
Go Pro Premium users will be able to optimize images for more than 25k monthly active users. Images in the Premium plan are served from AWS Cloudfront with over 200 locations all over the world.
- Welcome screen
- Connect screen
- Plugin dashboard
- Plugin settings
Version 2.2.9 (2020-02-25)
- Bug Fixes
Version 2.2.8 (2020-01-14)
-
Bug Fixes
- catch image URLs that contains some symbols (ce1c162)
- compatibility with Sassy Social share plugin (d4224cb)
- consider image URLs that contains chars like ~ (670597e)
- improve LQIP transition effect, fix #212 (946e16c)
- prevent losing filters settings after disconnecting the api key, fix #210 (db431b9)
- removes custom logo preload causing duplicate content issues (04cad07)
- strip script tag on amp modes fix #203 (35f59f3)
-
Features
Version 2.2.7 (2019-12-17)
-
Bug Fixes
- edge case lazyload replacement when noscript images are present (c788c3f)
- improve compatibility with Divi builder (7d1c469)
- improve compatibility with W3TC minification system (bf9f058)
- improve compatibility with WP Migrate DB (02df077)
- improve lazyload and replacement on json strings (b7f67fd)
- removed blur from lazyload placeholders (2c7d66d)
-
Features
Version 2.2.6 (2019-12-02)
-
Bug Fixes
- compatibility with Edge 15 of js library, fix #187 (8e73668)
- compatibility with slider revolution (05c21ce)
- edge case for optimole failed to lazyload certain images (0f8de69)
- edge cases cropping behaviour when two images sizes are using different cropping (beb8c27)
- improve compatibility with master slider (cf57717)
- searching through multiple classes the right way, added tests (4751edb)
-
Features
- adds exclude by class filter for lazyload mechanism (3ce87e2)
Version 2.2.5 (2019-11-18)
-
Bug Fixes
- inherit custom sizes desired cropping, adds enlarge compatibility (84f7056)
-
Features
Version 2.2.4 (2019-11-05)
- Bug Fixes
- conditions for close to limit notice (e3530b8)
Version 2.2.3 (2019-11-05)
- Bug Fixes
Version 2.2.2 (2019-11-04)
- Bug Fixes
- ignore rescale on GIF and SVG when lazyload is active (d4e63b6)
- improve compatibility with Thrive Architect (55a5952)
- improve generic placeholder computed width/height when the source size is unknown (0c3cc3f)
- sign only URLs that don't use an whitelisted domain. (7813bf9)
- strip retina based prefix to use original url (948c667)
Version 2.2.1 (2019-10-21)
- Bug Fixes
- gif to video setting description (063d37b)
Version 2.2.0 (2019-10-21)
Version 2.1.2 (2019-09-25)
-
Bug Fixes
- adds preconnect hint for image domain and js library domain (11b697d)
- compatibility with cache_enabler #136 (483262f)
- improve checking for editing context when the replacement should be off (e7510f6)
- lazyload query urls part of #145 (a048f68)
- preload lazyload js file when lazyload setting is active (828e1de)
- remove replacement on Divi theme builder (86ab6d2)
- replacement was not working for urls with special chars (48a4966)
- replacing url's with query strings without the query in the modified url #141 (0025559)
- replacing url's with regex in tags #141 (4b2264f)
- resource hints condition check [skip release] (a0f30e7)
-
Features
Version 2.1.1 (2019-07-22)
- Bug Fixes
- clicking on advanced menu move the focus to the focus to the compression tab, fix #118 (178d1fc)
- improve generic lazyload setting description and behaviour, fix #119 (13ce758)
- improve responsivness behaviour on small screens, fix #117 (10484bb)
- when service update cron returns an error, we should use the old data (4f80cc0)
Version 2.1.0 (2019-07-16)
-
- api request should return error message, if fails (51e180e)
- compatibility with shortcode ultimate, adds more usecases to test (c6673eb)
- disable REST API image replacement when the user is logged in (f577723)
- disable rest api replacement when we are in the edit context (58d83b0)
- duplicate requests when generating the lazyload placeholder, using an unified url for every source url, fix #103 (1c00c0c)
- ignore lazyload tag on noscript list of images, improve compatibility with Envira (74219b1)
- improve compatibility with Envira, ignora optimole lazyload on them (00b68fd)
- possible issues when list of allowed domains is not an array (2ee9997)
- prefetch custom domain instead of the assigned one, when custom domain is used (cedbb79)
- remove replacement on POST requests (f4637ba)
- removes admin bar traffic node (0e21fe8)
-
- adds basic filter, smart cropping and network optimization dashboard settings, fix #105, #104, #96 (aba242d)
- adds compatibility with new optimization service, improving resizing and compression with up to 15% smaller images than before (1f2528f)
- adds generic lazyload placeholder option as a setting (43b33fb)
Version 2.0.7 (2019-05-29)
-
Bug Fixes
- rest: WordPress core routes were called with double slashes (2e47fe0)
- better replacement for relative paths (c18be2f)
- image replacement was breaking non-image urls with query strings (2ef2212)
- improve admin bar quota looking and copyright #99 (200e746)
- improve CDN domain label naming #97 (8a2da71)
- improve error reporting on connection to the service (11ee514)
- remove image replacement on Thrive Architect editor (3a8c46b)
- removes redundant api request parameters (4385f68)
-
Documentation
- improve readme description (4134b05)
-
Features
Version 2.0.6 (2019-03-29)
-
Bug Fixes
- adds compatibility with background images lazyload on Essential Grid plugin (a73d1cd)
- compatibility with Oxygen builder, removes image replacement in the editor (015698d)
- compatibility with Woocommerce zoom image feature on product single pages (4445d1e)
- compatibility with YITH WooCommerce Quick View plugin, replacing images returned by the ajax request, fix #87 (60169b2)
- cropping behaviour being inconsistent with due to variable reset in image parsing loop (2b14e7c)
- remove unnecessary variables in the rest request causing conflicts with redirection plugins (68c04ee)
- Woocommerce image archive ratio, preserving cropping with Optimole images, fixes #85 (a3a8504)
-
Features
Version 2.0.5 (2019-03-25)
-
Bug Fixes
- adds compatibility with Jetelements Slider (c9e518e)
- compatibility with Metaslider, adds full support for all slider types available (a09d1fd)
- compatibility with various themes logo markup based on the image url, removes the hook to theme_mods image replace (34e0d85)
- disable image replacement when we are in the Beaver Builder editing mode (239442f)
- image replacement on header tags which uses relative urls (2caae7f)
- image replacement on json strings with html entities encoded, conflicting with variation form Woocommerce fixes #81 (2bae741)
- lazyload animation conflict with initial image animation (3a84250)
- lazyload on image which uses relative urls (4655994)
- lazyload placeholder replacement affecting non-src urls, improving compatibility with Woocommerce (7e13a32)
- noscript image tag issue causing problems with too specific CSS selectors (324effd)
- relative url image replacement conflicting with plugins like WPML (7a47827)
- thumbnails cropping mode not affecting the resulting optimole images (0f6dacb)
-
Features
Version 2.0.4 (2019-03-11)
-
Bug Fixes
- adds full compatibility with Envira gallery (7fd618f)
- compatibility with Foogallery plugin when the gallery uses lazyload too (67991dc)
- compatibility with images which contains query arguments, causing broken image urls (56108be)
- compatibility with relative image urls (8089610)
- compatibility with Revolution slider, adds support for background images lazyload and exact match (0bbd254)
- compatibility with shortcode ultimate plugin (164ba35)
- compatibility with Woocommerce, solving issue with zoom image on single product pages (1692e2b)
- image replacement on WordPress REST api responses (24d191b)
- image url replacement on custom WordPress directory structure, fixes #79, thanks @hackles for reporting (980fcef)
-
Features
Version 2.0.3 (2019-02-13)
-
Bug Fixes
- adds whitelisted websites among the image urls to replace (bfb016e)
- allow image urls that does not contain scheme, either http or https (2aae664)
- anchor tags image replacement, conflicting with gallery plugins ( NextGen ) (824acdc)
- compatibility when jetpack photon is on, fetch directly the image source (f339dbb)
- cropping behaviour when lazyload is off for certain edge causing incorrect image resize (8aca6dc)
- doubled image bug, detect if image tag has already lazyload applied and bail for Optimole lazyload (bea5ac8)
- image replacement on admin ajax requests (924cc49)
- image url replacement on non whitelisted urls (8567f8b)
- JSON strings url replacement, improves elementor's compatibility (2ff9e9b)
- lazyload replacement when image source is in data-src attributes, solving conflict with some gallery plugins (c26cdab)
-
Documentation
- adds faq for ajax content, remove lqip and fixed typo for plugin tags (104a17e)
2.0.2 (2019-02-01)
Bug Fixes
-
dashboard app loading issues for some wordpress environments (293e277)
-
disable srcset attribute when the javascript resizer and lazyload is active, being redundant (76c0307)
-
domain validation when www is present in the image urls, thanks @wpriders team for reporting (9559ce5)
-
image resize when the size class is not available, get cropping based on the width/height of the resulting image (e5c1aab)
Documentation
- improve readme description of the OptiMole service (e020300)
Features
- adds upgrade box and notice to upgrade when the user is close to the limit (62b216a)
2.0.1 (2019-01-21)
Bug Fixes
- fix javascript library production url (aed9433)
2.0.0 (2019-01-21)
-
errors on low PHP environments when PHP_INT_MIN constant is not available (44eb4af)
-
fix tag replacement on lazy load, preserve image size when found (5c6ef70)
-
improve image size replacement mapping for custom image sizes (d816ccb)
-
possible issue with image replacement not taking place when other buffer handler is registered (3ce600a)
-
resize behaviour for WordPress defined image sizes, preserve cropping for custom sizes (a42f830)
-
adds new service schema (330fba0)
-
adds watermark integration along with various options for watermark position (6a4538a)
-
deactivate plugin on lower php versions, adds notice for PHP for upgrade (58d2607)
-
improve srcset replacement, use attachement id when present (5587221)
-
improve type casting on size constrain (589b046)
- Minor fixes to Optimole dashboard page.
- Fixes DNS prefetch call when lazyload is off.
- Enable lazyload and javascript replacement by default for new users.
- Improve the lazy loading mechanism and adds compatibility with the new javascript library.
- Improve sample images and quality selector integration.
- Adds a notice when the Rest API is not available.
- Adds notice for new users on how the plugin works.
- Tested up with WordPress 5.0, all working smooth.
- Fix possible issues with thumbnails when the original image is available on a different url scheme.
- Ignore lazyload replacement on feed/amp pages.
- Integrates lazy load feature with support for low-quality placeholders ( LQIP ).
- Integrates Javascript library which delivers images at the right size for each device, including Retina.
- Improve image replacement algorithm.
- Improves compatibility with Elementor and Gutenberg.
- Adds support for Custom CNAME and Client hints.
- Improves support for custom CDN.
- Improves AMP support.
- Improves compatibility with WordPress Multisites.
- Adds max width/height option.
- Improves registration workflow.
- Adds image comparison slider ratio.
- Adds logo on link preload.
- Adds in-plugin service registration.
- Adds image quality control.
- Adds slider for image comparison.
- Improvements to UX and workflow.
- Adds redirect on first install.
- Improve elementor assets replacement.
- Improve compatibility with elementor external css files.
- Adds generator tag.
- Improve replacer handler hook register.
- Tag first stable version for wordpress.org.
- First version of the plugin
The following are the steps to install the OptiMole plugin
- In your WordPress Administration Panels, click on Add New option under Plugins from the menu. Click on upload at the top.
- Browse the location and select the OptiMole Plugin and click install now.
- Go to Media -> OptiMole and follow in the instructions on how to enable the service.
The number of images that you can optimize or store is unlimited, we care only about the number of visits you have per month.
Once you exceed these, we will contact you and kindly ask to upgrade to the plan that fits you best.
For both FREE and Paid plans we use AWS CloudFront CDN with more than 200 locations around the globe.
Short answer, YES. We can help you integrate your default CDN but it will require some additional work from our side and is available to Enterprise plans.
You don’t need to change your existing optimization plugin, image optimization is just a small part of what we do, if you are happy with ShortPixel for e.g, feel free to continue to use it, OptiMole would then take care only of serving your image at the RIGHT size, advanced cropping and smart lazy-loading.
Yes, we do. By default, Optimole handle images delivered from your ajax content from admin-ajax.php ( not logged in users ) as well as WordPress REST API routes.
Yes, you can. We have bundled this tweak into a plugin you can install while you have Optimole active. The blurry placeholder will be removed and the images will be still lazy-loaded. You can find the plugin tweak here -> http://bit.ly/optml-rm-lqip
Absolutely No. We use your original images as sources when deliver the optimized images.
A higher compression might result in a small loss of image quality. Selecting the auto level will let Optimole choose the minimum size with no loss in the quality of your picture.
I used Kraken, Shortpixel, Optimus, EWWW or WP Smush, Imagify will OptiMole further optimize my images?
Yes, Optimole will also take care of serving your image at the RIGHT size for your visitors and optimize them to the best possible format for their browser.
For now we support jpg, png and svg format.
Yes. We automatically detect user browser and serve WebP if is supported, otherwise we optimize the image in the original format.
Yes. You need to add define("OPTML_DISABLE_PNG_LAZYLOAD",true);
to your wp-config.php
file.
Yes, you can follow this code snippet and replace the sample image with the one you need:
add_filter('optml_dont_replace_url', function( $old, $url ) {
if ( $url === 'https://example.com/wp-content/uploads/2018/09/1.jpg' ) {
return true;
}
return $old;
}, 10, 2);