batfan
5/6/2014 - 10:37 PM

Filter image by size

Filter image by size

$('.mydiv img').each(function() {
	var imgwidth = $(this).width();
				
	if (imgwidth < 150) {
		$(this).hide();
	} else {
	        $(this).show();
	}
});