WordPress.org

Support

Support » Plugins and Hacks » BJ Lazy Load » [Resolved] [Plugin: BJ Lazy Load] No images loading

[Resolved] [Plugin: BJ Lazy Load] No images loading

  • Hi and thank you for the Plugin.

    I have tried lots of different solutions but I am unable to see my images when BJ Lazyload plugin is activated. I have added wp-footer, checked the settings etc and can see it being applied in the source but no images ever load.

    Example code:
    <img width=”270″ height=”165″ title=”ultra-book-th” alt=”ultra-book-th” class=”lazy lazy-hidden attachment-post-thumbnail wp-post-image” data-lazy-src=”http://www.mysite.com /wp-content/uploads/portfolio/ultra-book-th.jpg” data-lazy-type=”image” src=”http://www.mysite.com /wp-content/plugins/bj-lazy-load/img/placeholder.gif”>

    I’d really love for this plugin to work. Is there something I have forgotten to set?

    These are the only scripts on the page. Could something be conflicting?

    <script src=”http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js”></script>
    <script type=’text/javascript’ src=’ /wp-content/themes/mytheme-theme/scripts/jflickrfeed.min.js’></script>
    <script type=’text/javascript’ src=’ /wp-content/themes/mytheme-theme/scripts/setup.js’></script>
    <script type=’text/javascript’ src=’ /wp-content/themes/mytheme-theme/scripts/l10n.js’></script>

    Any help would be much appreciated. Thank you in advance.

    http://wordpress.org/extend/plugins/bj-lazy-load/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Bjørn Johansen

    @bjornjohansen

    You are running a very old version of jQuery (version 1.4.2). BJ Lazy Load requires at least version 1.4.3 (might also be higher, but this is the highest version number dependency I found).

    As a general tip, you should always run the same jQuery version as your WordPress installation provides. You may well load it from Google’s CDN, but if you run an older version of jQuery some of your plugins might break (as in this case).

    Hi Bjorn. Brilliant the portfolio images lazyload perfectly now- Thank you.

    Only one problem- the pages with a Flickr feed on have issues: The Flickr feed now does not display any images, and the lazyload images on the same page as Flickr feed do not load images. Could there be a conflict somewhere? I am using jflickrfeed.min.js.
    http://www.vronster.com/about/
    Any thoughts would be so much appreciated.

    Many thanks in advance.

    Plugin Author Bjørn Johansen

    @bjornjohansen

    Your page throws the following error:

    Uncaught TypeError: Object [object Object] has no method 'jflickrfeed'

    Javascript parsing stops after an uncaught error is thrown.

    My guess is that jflickrfeed isn’t compatible with your updated version of jQuery. See if you can find an updated version.

    BTW: You are currently loading two versions of jQuery. Both 1.8 from the Google CDN and 1.7.2 from your WordPress installation.

    Hi Bjorn.
    Thank you so much for your tips. As you can see I am new to WordPress and jQuery so probably making silly mistakes.
    I will look into your solutions, many thanks again

    Thanks gain for your help. I put in different flickr code (widget this time)and all works brilliantly.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] [Plugin: BJ Lazy Load] No images loading’ is closed to new replies.
Skip to toolbar