jQuery(document).ready(function($) {
    // $() will work as an alias for jQuery() inside of this function
    $(".rounded-img, .wp-post-image, .avatar").load(function() {
	$(this).wrap(function(){
	    return '<span class="' + $(this).attr('class') + ' rounded-img-out" style="background:url(' + $(this).attr('src') + ') no-repeat center center; width:  sadf' + $(this).width() + 'px; height: ' + $(this).height() + 'px; display: inline-block;" />';
	});
	$(this).css("opacity","0");
  });
});