Exclude from Optimizing or Lazy Loading
You might want to exclude images from being optimised or lazy-loaded.
Option 1:
You can do this in Optimole by going into Optimole > Settings > Advanced > Exclusions
Here you can exclude by:
- File Name (eg. file contains “_slide”)
- Extension (eg. “SVG”)
- Page URL (eg. “home”)
For lazyload you can also exclude by Class Name (eg. “class_to_not_load”)
This feature can help you fix some compatibility problems with some themes or plugins.
Option 2: (using a filter): Can I disable optimization for a certain image?
We constantly work on improving the plugin but sometimes you might need to use this until a patch or fix is ready.