WordPress.org

Ready to get started?Download WordPress

Forums

jQuery Image Lazy Load WP
Broken in WP 3 (8 posts)

  1. cadbloke
    Member
    Posted 4 years ago #

    Doesn't work with wp-touch in WP3. It worked fine in WP 2.9.2.

    Also, according to the resources thingo in Google Chrome the images are all downloaded anyway and just fade in when you scroll to them.

    http://wordpress.org/extend/plugins/jquery-image-lazy-loading/

  2. kahi
    Member
    Posted 4 years ago #

    Must confirm the issue, WP 3.0, loads images anyway, then replaces them with grey placeholder. Which means it's not working.

    But it seems like the problem with the jQuery plugin, not just the WP plugin. Anybody knows any alternative?

  3. schaefermic
    Member
    Posted 4 years ago #

    you can just insert the jquery itself, which is very easy.

    all the plugin was doing was inserting 3 lines into your header, nothing fancy or codey.

    http://www.appelsiini.net/projects/lazyload

    once you download the files from there just insert this into your header, using your own location for the lazyload.js and the grey.gif (or whichever image you choose):

    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript" charset="utf-8"></script>
     <script src="jquery.lazyload.js" type="text/javascript" charset="utf-8"></script>
      <script type="text/javascript" charset="utf-8">
          $(function() {
              $("img").lazyload({
                 placeholder : "grey.gif",
                 effect      : "fadeIn",
                 threshold : 0
              });
          });
      </script>
  4. kahi
    Member
    Posted 4 years ago #

    @schaefermic - can you give an example of page where it actually works?

  5. cadbloke
    Member
    Posted 4 years ago #

    I was going to mention Mashable but it is broken there too. The images fade in but they are all pre-loaded.

  6. burak1
    Member
    Posted 3 years ago #

    Has there been any development in this issue? I'm trying to speed up my site, but I also found that the images are pre-loaded with this plugin and WP 3 (tested by loading a page, disconnecting internet, then scrolling to the bottom of the page where the images are - yes, they fade in. Same happens on Mashable).

    Any ideas of other plugins that truly delay the loading of below the fold images for improved page speed?

  7. clubedophotoshop
    Member
    Posted 3 years ago #

    THIS WORKS - on first loading like a Mashable:
    http://www.appelsiini.net/projects/lazyload/enabled_gazillion.html

    EXPLANATIONS:
    http://www.appelsiini.net/2009/12/tuning-lazy-loader

    Why? Please Help Us!

  8. xzykho
    Member
    Posted 3 years ago #

    My issues with this is that I had to remove some money making ads on the sidebar because the plugin prevented it from showing and now I discover that my gravatar is also behind the gray gif image.

    http://prodigalconcepts.com/

    Any help out there? Thanks in advance I really appreciate it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic