The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

BJ Lazy Load
[resolved] Compability issue with WPtouch plugin (7 posts)

  1. AxelPiskulic
    Posted 3 years ago #

    Hello Bjørn,

    Thank you very much for your work! I implemented a mobile version of my website using a plugin called WPtouch plugin.

    In the mobile site the videos are automatically scaled to the visitor's screen size but I see it doesn't works if I set BJ Lazy Loads plugin to "lazy loads" iframes.

    Well, lazy loads is a very important function in the version for visitors using a desktop PC. And scaling videos is important in the mobile version.

    I try to deactivate BJ Lazy Load in the mobile theme by put some php code in the functions.php file. Actually I don't know PHP but I try with

    wp_deregister_script( 'jquery.sonar' );
    wp_deregister_script( 'BJLL' );

    and also with...

    wp_dequeue_script( 'jquery.sonar' );
    wp_dequeue_script( 'BJLL' ); ?>

    My question is how to remove the BJ Lazy Load functions just for a certain theme in my WordPress site.

    Thank you very much for any idea!

    Axel Piskulic


  2. Bjørn Johansen
    Plugin Author

    Posted 3 years ago #

    Hi Axel

    Thank you for your support and feedback.

    I am close to having a new version ready, and have made an option to disable BJ Lazy Load on the WPTouch mobile theme if WPTouch is installed.

    You can download a working copy of the next version here: http://cl.ly/0G1T1T2J2K0J

    Be aware that this version introduces two new features: Loading of hiDPI images and loading of responsive images. There will be changes to both of these features before the official release. Also, if you use a CDN, they don't work (yet).

    I will release it within the next couple of weeks, so if this issue isn't urgent, I'd recommend you to wait. I would be happy if you tested it and let me know if it fixes your issue, though :-)


  3. Bjørn Johansen
    Plugin Author

    Posted 3 years ago #

    Don't use the above link. Version 0.6.0 was just released.

  4. AxelPiskulic
    Posted 3 years ago #

    Hello Bjørn,

    I just updated BJ Lazy Load plugin and I wait for the next version for WPtouch feature.

    Just in case: There are two versions of WPtouch (free and pro). I see the problem whith scaling videos function with WPtouch pro version but I tested now (in other WordPress site) the free WPtouch with BJ Lazy Load new version and the scaling videos function it doesn't work in the mobile version of the site.

    Thank you very much Bjørn!

  5. AxelPiskulic
    Posted 3 years ago #

    Hi Bjørn,

    I was confused. Now I understand: in the new version of BJ Lazy Load now there is an option to disable the plugin if WPtouch plugin is installed.

    The problem (I think) still exists for the "pro" version of WPtouch.


  6. Bjørn Johansen
    Plugin Author

    Posted 3 years ago #

    OK, Axel. Version 0.6.3 should now detect WPTouch Pro as well.

    Hope this will work fine for you!

  7. AxelPiskulic
    Posted 3 years ago #

    Thank You very much, Bjørn! It works perfectly with WPtouch Pro.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BJ Lazy Load
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.