message: Move "loaded" event to end of loading function where it actually belongs. Fixes
diff: image = $('<img id="' + options.id + '" />')
  .attr('src', imgPath)
  .on('load.ilb7', function () {
  - $wrapper.trigger('loaded.ilb2');
  var params = {'opacity': 1};
  image.appendTo($wrapper);
  }
  $('<img />').attr('src', nextTarget.attr('href'));
  }
  + $wrapper.trigger('loaded.ilb2');
  })
  .on('error.ilb7', function () {
  _onLoadEnd();
  