Disable the theme JS having lazyload-related functions somehow ?

Posted in: Newspaper
Post count: 312

Hi,

I’m speaking with autoptimize and shortpixel team about activating Webp images on my site, here find the message of Frank from Autoptimize.

“It looks like your theme has lazyload-handling in the JavaScript file, which seems to run even before Autoptimize’s lazyload can. As the switch to webp is done in the Autoptimize lazyload JS, this is not getting triggered. See if you can disable the theme JS having lazyload-related functions somehow?

Hope this helps,
frank

So I went to theme panel but lazyload option is already disabled..

Have you got any idea ?

Thank you

Kind regards

Post count: 35449

Hi, if the option form theme panel is disable -> https://www.screencast.com/t/6RDvQZKvTFd then the lazyload from our theme is no longer use, please make sure that you do not use other plugins that has this option.
If you want to make some change to the theme code for lazyload, the file path to the file is wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js but the code is minify -> https://i.imgur.com/fYS12Gg.png

Thank you!

Post count: 312

I don’t have plugins that have this option.

Frank from autoptimize says
“It seems that even when lazyload is not active in the theme, the theme JS still has code in it that interacts with lazyloaded elements.”

Can you fix this issue please.

His mail futtta@gmail.com

Post count: 35449

Hi,

For me when I disable the option from theme panel, then the script for lazyload is no longer loading on images, at list in this way is for me an it should be for all users.
Please provide me a link to your website in this way I can check if this is still loading for you or not.

Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.