code: function imgLoad (selector, callback) {
          $(selector).each(function () {
              if (this.complete) {
                  callback.apply(this);
              }
              else {
                  $(this).on('load', function () {
                      callback.apply(this);
                  });
              }
          });
      }
docs: Trigger a callback when the selected images are loaded:
  @param {String} selector
  @param {Function} callback