• Resolved Bobkata

    (@bobkata)


    Hello lazy load is not working on all browsers. On a xiaomi phone default browser when lazy load is activated images are not displaying at all. All other browser that I use for testing is working good (chrome, safary, edge, firefox) what coud be the problem? Thank you. I hope my users don’t use default xiaomi browser but maybe there is another browsers that don’t display images.

    • This topic was modified 2 years, 4 months ago by Bobkata.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support qtwrk

    (@qtwrk)

    if (stripos($_SERVER['HTTP_USER_AGENT'],"xxxxxxxxxx") !== false) {
    define( 'LITESPEED_NO_LAZY', true );
    }

    add this at top of your wp-config.php , replace xxxxxxxx to a unique word from xiaomi browser user agent

    @bobkata

    There must be other reason why lazy load does not work for Xiaomi browser. Xiaomi browser uses Chrome and has Android OS, so excluding Xiaomi browser from lazy load will not work, because user-agent is the same as with Chrome browser.

    Would you provide us with a link to your page to investigate it?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Lazy load some browsers’ is closed to new replies.