$.fn.image = function(src, f){
  return this.each(function(){
    $("<img>").appendTo(this).src( src ).load( f );
  });
};

