BJ Lazy Load
images not loading unless logged in - JQuery? NextGen? (4 posts)

  1. DR1665
    Posted 2 years ago #

    I saw another support thread marked 'resolved' which suggested issues with NextGen Gallery and JQuery that seemed like what I'm experiencing - I have both - but I'm not sure and didn't want to mess up that discussion.

    I've tried the usual, WordPress 101 troubleshooting steps, but have kinda narrowed it down to BJ Lazy Load. All my images are blank - placholder.gif - just like what happens for a fraction of second after pageload when BJLL is active. Scroll up and down all day - the images don't appear.

    BUT, when I log into the site, or enter the password on a protected post, they all suddenly appear, which suggests there's no problem between theme and plugin.

    I've disabled NextGen Gallery, rolled it back to a previous version, updated to a beta version, and so on. The problem remains.

    Since I saw the comments above about JQuery, I took a look at the source code on the page. I see the following and wonder if it might be relevant?


    <script type='text/javascript' src='http://gearboxmagazine.com/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ajax/static/ajax.js?ver=3.6'></script>
    <script type='text/javascript' src='http://gearboxmagazine.com/wp-includes/js/jquery/jquery.js?ver=1.10.2'></script>
    <script type='text/javascript' src='http://gearboxmagazine.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1'></script>

    <b>Contact Form 7?</b>

    <script type='text/javascript' src='http://gearboxmagazine.com/wp-content/plugins/contact-form-7/includes/js/jquery.form.min.js?ver=3.39.0-2013.07.31'></script>
    <script type='text/javascript'>

    Any thoughts? I'd appreciate any insights. Trying to keep my site simple to reduce potential snags like this.

    Oh yeah, site is http://gearboxmagazine.com



  2. DR1665
    Posted 2 years ago #


    Plugin is deactivated, cache is cleared, problem persists.
    When plugin is deleted, all images are broken.
    When plugin is re-installed, placeholders return, but images do not load.

    The real interesting thing about this problem?

    There is (1) "protected" post on the site. Native WordPress functionality, but it's my first time trying it. Once you enter a password - ANY PASSWORD - the images all work.

    Does this make any sense to anyone here?

  3. Bjørn Johansen
    Plugin Author

    Posted 2 years ago #

    For some reason, the javascript isn't included. There is no reference to it at all in the HTML source code.

    If you deactivate, or even delete the plugin, and the images are still broken, your issue might be elsewhere than in this plugin.

  4. DR1665
    Posted 2 years ago #

    Bjørn, what I found, when I deleted the plugin, was that the HTML appeared to still be related to BJ Lazy Load. Example:

    <p><img class="lazy lazy-hidden aligncenter size-full wp-image-14202" alt="feat_adam_clees_107" src="http://gearboxmagazine.com/wp-content/plugins/bj-lazy-load/img/placeholder.gif" data-lazy-type="image" data-lazy-src="http://gearboxmagazine.com/wp-content/uploads/2013/08/feat_adam_clees_107.jpg" width="1050" height="250" /><noscript><img class="aligncenter size-full wp-image-14202" alt="feat_adam_clees_107" src="http://gearboxmagazine.com/wp-content/uploads/2013/08/feat_adam_clees_107.jpg" width="1050" height="250" /></noscript></p>

    In which case, I would be curious why the code will still generate BJLL classes/tags, when the plugin is completely removed?

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