Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8212561
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T10:47:57+00:00 2026-06-07T10:47:57+00:00

I am currently using Jquery Lazy Load and I was wondering if there is

  • 0

I am currently using Jquery Lazy Load and I was wondering if there is a way of making a callback when all the images from my container ended loading (when lazy load has made all his magic).

The reason for this is that I am using jScrollPane Plugin as well and I would like to call the jScrollPane reinitialize function.

Thanks’

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T10:47:59+00:00Added an answer on June 7, 2026 at 10:47 am

    Looking at the source, it seems that the lazy load plugin calls the settings.load function after loading an image passing the loaded image element and a couple of parameters:

    if (settings.load) {
        var elements_left = elements.length;
        settings.load.call(self, elements_left, settings);
    }
    

    So you will probably need to just set something like this:

    function yourhandler(element, el_left, settings) {
        //Whatever you want
        //This function will be called each time that an image (element in this case) is loaded
    }
    $("img.lazy").lazyload({ 
        load : yourhandler
    });
    

    If you want to be sure that the image is loaded, you can attach a listener to the loaded image:

    function yourhandler(element, el_left, settings) {
        element.load(function() {  
            alert('Image Loaded');  
        });
    }
    

    Edit

    After trying the code, the most ‘clean’ method is to attach to the .load method of your images:

    $('img.lazy').load(function() {
        console.log($(this).attr('src') + ' loaded');
    });
    
    $('img.lazy').lazyload({
        container:$('.p_content'),
    });​
    

    http://jsfiddle.net/eRyww/72/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently using jQuery to load a variable php layout depending on the
I am currently using jquery corner for making a div round cornered. But the
I'm currently using jQuery and would like some help on iterating through all checked
Im currently using jquery to link all td's to the edit link but i
I am currently using jQuery Mobile for a Phonegap application and I was wondering
Hi I am currently using jQuery to load a variable php layout depending on
I'm currently using jQuery and am looking for a way to slide an image
I'm currently using jquery's ajax feature or whatever they call it. To load data
Currently using jQuery validation plugin , is it possible to consolidate all the errors
I am currently using Jquery's .load() function to insert a page fragment asynchronously. In

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.