(function($){
	$.fn.imgRound = function(selector){
		$(this).each(function(){
			var $this = $(this),
				img = $this.find(selector),
				properties = {src: img.attr('src'), width: img.width(), height: img.height()};
			
			img.css({
				visibility: "hidden"
			});
			
			$this.css({
				width: properties.width + "px",
				height: properties.height + "px",
				backgroundImage: 'url(' + properties.src + ')'
			});
		});
		
		return this;
	}
})(jQuery);
