misc/demo/public/vendor/plupload-2.1.2/js/jquery.ui.plupload/jquery.ui.plupload.js
function measure() {
			if (!tw || !th) {
				var wrapper = $('.plupload_file:eq(0)', self.filelist);
				tw = wrapper.outerWidth(true);
				th = wrapper.outerHeight(true);
			}

			var aw = self.content.width(), ah = self.content.height();
			cols = Math.floor(aw / tw);
			num =  cols * (Math.ceil(ah / th) + 1);
		}
function measure() {
			if (!tw || !th) {
				var wrapper = $('.plupload_file:eq(0)', self.filelist);
				tw = wrapper.outerWidth(true);
				th = wrapper.outerHeight(true);
			}

			var aw = self.content.width(), ah = self.content.height();
			cols = Math.floor(aw / tw);
			num =  cols * (Math.ceil(ah / th) + 1);
		}
function measure ( ) { if ( ! tw || ! th ) { var wrapper = $ ( '.plupload_file:eq(0)' , self . filelist ) ; tw = wrapper . outerWidth ( true ) ; th = wrapper . outerHeight ( true ) ; } var aw = self . content . width ( ) , ah = self . content . height ( ) ; cols = Math . floor ( aw / tw ) ; num = cols * ( Math . ceil ( ah / th ) + 1 ) ; }
calculate number of simultaneously visible thumbs
calculate number of simultaneously visible thumbs