--- ../functions.inc 2009-10-27 22:37:55.000000000 -0400 +++ functions.inc 2009-10-24 16:18:40.000000000 -0400 @@ -13,8 +13,7 @@ # Load Directory Into Array $poct = -1; $retval_dimensions = array(); - $actualpath = realpath(file_directory_path() . $absolpath); - $handle = opendir($actualpath); + $handle = opendir($absolpath); $imagemaxh = 0; while ($file = @readdir($handle)) { $testending = strtolower(substr($file, -4, 4)); @@ -27,7 +26,7 @@ $retval_dimensions[$poct]['imgcrop'] = $imagecrop; # Is image horizontally or vertically oriented? - $temp = getimagesize($actualpath .'/'. $file); + $temp = getimagesize($absolpath .'/'. $file); if ($temp === false) { continue; }