/*	(function($){
 		$.fn.getMore = function() {
			return this.each(function() {
					$(this).children('img').load(function(){
							var _getimgWidth = $(this).width();
							var _getimgHeight = $(this).height();
							var _imgHeight = _getimgHeight+"px";
							var _imgWidth = _getimgWidth+"px";
							$(this).parent().css({'width':_imgWidth,'height':_imgHeight});
							$(this).parent().append('<span></span>');							   
					});				  						  
			});
 		};
	})(jQuery);*/


/*	(function($){
 		$.fn.getMore = function() {
			return this.each(function() {			  
				var _getimgWidth = $(this).children('img').width();
				var _getimgHeight = $(this).children('img').height();
				var _imgHeight = _getimgHeight+"px";
				var _imgWidth = _getimgWidth+"px";
				$(this).css({'width':_imgWidth,'height':_imgHeight});
				$(this).append('<span></span>');						  
			});
 		};
	})(jQuery);*/


(function($){
 		$.fn.getMore = function() {
			return this.each(function() {
        $(this).onImagesLoad({ 
            selectorCallback: selectorImagesLoaded 
        });  
        function selectorImagesLoaded($selector){  
            var _getimgWidth = $selector.children('img').width();
			var _getimgHeight = $selector.children('img').height();
			var _imgHeight = _getimgHeight+"px";
			var _imgWidth = _getimgWidth+"px";
			$selector.css({'width':_imgWidth,'height':_imgHeight});
			$selector.append('<span></span>'); 
        }
});
 	};
})(jQuery);
