Optimize More! – Images


A lightweight yet powerful image, iframe, and video optimization plugin.
Part of ThinkWeb's Performance Pack.


  • Lazy Load – Lazy loading images, iframes, and videos, using the high performant lazysizes.js. No jquery dependency.
  • Preload Featured Images – Automatically preloading featured image from common page/post (homepage, pages except homepage, single post, and woocommerce single product pages).
  • Use CDN for Images – HTML rewrite if you want to serve images from your favorite CDN.
  • Add Missing Image Dimensions – Add missing width and height attributes from your images.

New (since 1.0.7)

  • We changed the lazy load library from lozad.js to lazysizes.js.
  • Add field to modify lazysize default configuration. Read the docs.
  • Add fields to specify width and height fallback value if the Add Missing Image Dimensions feature failed to get the actual image dimension.

New (since 1.0.3)

  • Lazy load CSS Background Images – Load faster by lazy loading background images from the CSS background-image property. Tested and works well on CSS background image from GenerateBlocks, Elementor, and Oxygen Builder.
  • Noscript Fallback – Extra option to use <noscript> fallback for lazy images and iframes.
  • Add Loading Eager – Extra option to Automatically add loading=eager to the lazy load excluded list.

This plugin only adds 1 extra row in your database. And it will self delete upon uninstalation.

About Lazysizes

Lazysizes is highly performant lazy load library, written by Alexander Farkas in pure JS with no dependencies.

Taken from lazysize’s github description:
High performance and SEO friendly lazy loader for images (responsive and normal), iframes and more, that detects any visibility changes triggered through user interaction, CSS or JavaScript without configuration.

Optimize More!

Need to optimize more? Try our WordPress Speed Optimization’s Service.

More plugin from ThinkWeb

  • Optimize More! – Selectively Optimize your CSS/JS Delivery: Load CSS Asynchronously, Delay CSS and JavaScripts until User Interaction, Preload Critical CSS and JavaScripts, and Remove Unused CSS and JavaScripts Files..


  • Lazy Loading Media Files (Image Tags, Inline Background Images, CSS Background Images, Iframes, Videos)
  • Preload Featured Images, useful to bypass critical image render blocking issue
  • Use CDN for your images, useful to decrease server load
  • Add missing image dimension (width and height attributes)


From within WordPress

  1. Visit Plugins > Add New
  2. Search for Optimize More Images
  3. Activate Optimize More! Images from your Plugins page
  4. Find Optimize More! Images in your sidebar menu to configure settings


  1. Download the plugin using the download link in this WordPress plugins repository
  2. Upload optimize-more-images folder to your /wp-content/plugins/ directory
  3. Activate Optimize More! Images plugin from your Plugins page
  4. Find Optimize More! Images in your sidebar menu to configure settings


Why changing the lazy load library from lozad.js to lazysizes.js?

More configurable.

How to enable lazy loading CSS background images?

Lazy loading css background images requires some effort from your end. Add an extra “lazyload” class to each container which has css background image in your favorite page editor. Or, simply put (one of) the container class in the include list field, the plugin will automatically add an extra “lazyload” class to the container.

Why is there preload featured image feature?

This actually a good practice to add extra performance boost to your WordPress site.

On WordPress single post and Woocommerce single product pages, featured images usually appear on above the fold section, so it’s better to preload them to avoid render blocking issues, just like any assets which required in above the fold section.

We can adapt this single post and single product behaviour in pages too. Set your hero / above the fold images as featured images to programatically, and automatically, preload them on all pages.

Preload featured images not working?

It calls images set as featured image in the native WordPress post/pages, using get_post_thumbnail_id() and wp_get_attachment_image_src(). Make sure you already adds them.

If you are using Elementor or other Page’s builders, simply edit the pages with the native WordPress editor to set the featured image.

Add Missing Image Dimensions not working?

This depends on you theme or overal site’s setup and how you upload your images. If it fails to grab the width and height of your images, you can specify the default image width and height fallback values that best suit your website situation in the provided fields.


November 10, 2022
Keep maintain this plugin, and more optimize for youtube/embed, because in other plugin i know, the youtube embed can become load image not video before user click play button.
January 24, 2022
I have used the plugin to optimize images for several clients and it works extremely well. Therefore I can recommend it to anyone who wants to improve the page speed of their websites.
Read all 4 reviews

Contributors & Developers

“Optimize More! – Images” is open source software. The following people have contributed to this plugin.




  • Enable exclude field to also exclude Lazy Load CSS BG Images class. Useful if we want to put generic class in the Lazy Load CSS BG Images include list


  • Exclude 404 page for Preload Featured Image feature


  • Re-commit to push 1.0.7 update on repo


  • Change the lazy load library from lozad.js to lazysizes.js
  • Add field to modify lazysize default configuration
  • Add fields to specify width and height fallback value if the Add Missing Image Dimensions feature failed to get the actual image dimension


  • Bug fixes: sometimes images take too long to appear on woocommerce products shortcode display in some themes


  • Bug fixes


  • Minor fixes: simplifying and add structure to the plugin menu name in the sidebar menu to incorporate our new plugin Optimize More! – CSS


  • Added lazy loading CSS background image feature
  • Added option to use no-script fallback
  • Added option to automatically add loading=eager to the excluded list
  • Minor fixes: admin css fixes, typo fixes, and plugin screenshot revision


  • Minor fixes, plugin banner revision, typo fixes, and plugin screenshot revision


  • Initial release