PHP Get dimensions of images in dir
I have a huge ammount of photos that need sorting through. I need to know the dimensions of each photo in order to know or it needs re-sizing. As a programmer I'm convinced there must be a quicker way of doing this. I got quite far. The following code reads the dir and all the sub dirs. But the moment I try to extract the dimensions the loop halts at 8% of all the pictures that need checking. Could it be PHP is not allowed to do more calculations? What is going on!? This is how far I got: checkDir('dir2Check'); function checkDir($dir, $level = 0) { if ($handle = opendir($dir)) { while (false !