You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 19, 2022. It is now read-only.
- Lazy juggling of srcset/sizes attributes introduced
- Pass matches to lazyload_images_placeholder_image filter allowing it to generate individually sized images
- Allow data:image placeholder URLs
- Removed .hide() flickering
- Added css/noscript to head so only one image appears w/o JavaScript
enabled
Copy file name to clipboardExpand all lines: lazy-load.php
+13-6Lines changed: 13 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,9 @@ static function setup_filters() {
35
35
add_filter( 'the_content', array( __CLASS__, 'add_image_placeholders' ), 99 ); // run this later, so other content filters have run, including image_add_wh on WP.com
0 commit comments