Display loading spinner.. * The extension of lazysizes supports more than video and audio elements, but you need to modify the markup to use it for.
Important If you modify or remove the inline styles, also the style that shows the spinner is affected.
To disable or modify the inline styles you can use the filter.
Lazy Loader plugin is well maintained and uses the version of LazySizes-script ..
Quick tip when you test the script make sure the images have some text around them, if not the plugin will load all images...
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Run post thumbnail html filter later, to fix problem that appears when used with Responsify WP ..
Moved the method call to the beginning of the modify * markup methods.
If you use the option and the filter, you need to add the spinner styles, because they are part of the filtered CSS ..
Use saveHTMLExact method from SmartDomDocument to prevent doctype, html and element to be added to the content.. 3.1.6 07.08.2017.
Read more