Lazyload on product images
-
I am using the Jetpack Lazyload. The lazyload works well but on the product page, the main image does not load and the thumbnails load over where the image should be.
I put the following code into functions.php:
function exclude_lazyload_single_product() {
if ( is_product() ) {
return false;
} else {
return true;
}
}
add_filter( ‘lazyload_is_enabled’, ‘exclude_lazyload_single_product’, 10, 3 );It worked great until the last update. Is there something I should do to amend this so that it works properly?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Lazyload on product images’ is closed to new replies.