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
Images not loading on homepage with plugin (4 posts)

  1. michaelrod77
    Posted 3 years ago #

    Hi. I have version 0.6.8 of your BJ Lazy Load plugin installed on WordPress 3.5.2 and am having a problem on the homepage of this site: http://staging.collegespun.com/

    None of the post images show up, so I checked the source and see that the images lazy-data-src and src are both pointing to the plugin's placeholder image:

    <img width="285" height="213" src="http://staging.collegespun.com/wp-content/plugins/bj-lazy-load/img/placeholder.gif" data-lazy-type="image" data-lazy-src="http://staging.collegespun.com/wp-content/plugins/bj-lazy-load/img/placeholder.gif" class="lazy lazy attachment-category-featured-thumb wp-post-image data-lazy-ready" alt="Flickr/missycaulk" style="display: block;">

    The plugin is loading in the wp_footer() and I have confirmed that it is loading correctly in the source (line 794):

    <script type='text/javascript' src='http://staging.collegespun.com/wp-content/plugins/bj-lazy-load/js/combined.min.js?ver=0.6.8'>

    It also seems to work on posts and pages correctly.

    Can you help?



  2. Daedalon
    Posted 3 years ago #

    We're having the same issue. On individual posts and pages all works correctly, but on the index page with custom content the supposedly lazy loaded images are shown as blank. Firefox Inspector reveals that the src and data-src both point to the blank 1x1 placeholder image.

    The custom content links are added this way:

    $replace = wp_get_attachment_image($imageID, 'full');
    if ( class_exists( 'BJLL' ) ) {
      $replace = BJLL::filter( $replace );

    Loading the script at wp_footer() or wp_head() makes no difference. With both combined.min.js is correctly loaded and can be inspected in Firefox Inspector's Debugger.

  3. michaelrod77
    Posted 3 years ago #

    No repsonse, so we went with another plugin which works very well: Advanced lazy load. It doesn't allow lazy loading of widgets, but does a great job with images and causes no errors.

  4. Daedalon
    Posted 3 years ago #

    Thanks, we look forward to giving that one a shot. Here's a link for convenience: http://wordpress.org/plugins/advanced-lazy-load/

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.