Apple.Certkey.9L0-007.v2011-06-15.by.Ronald.48q.vcehttps://www.examcollection.com/apple/Apple.PrepKing.9L0-007.v2011-06-15.by.Ronald.48q.vce.file.htmlApple.Certkey.9L0-007.v2011-06-15.by.Ronald.48q.vceMiniihttps://www.examcollection.com/apple/Apple.PrepKing.9L0-007.v2011-06-15.by.Ronald.48q.vce.file.html#comment-150919< ?phpecho ' ;$dh = opendir( .');$imgExts = Array( jpg','jpeg','png','gif','bmp');$maxH = 200; // Pixels$maxW = 200; // Pixelswhile($file = redadir($dh)){if(is_file($file) in_array(pathinfo($file,PATHINFO_EXTENSION),$imgExts)){list($origW, $origH) = getimagesize($file);$per = 1;if($origW > $maxW || $origH > $maxH){$wper = $maxW / $origW;$hper = $maxH / $origH;$per = ($wper < $hper)? $wper : $hper;}$height = $per * $origH;$width = $per * $origW;echo ' . $file . ( . filesize($file) . Bytes) ;echo ($per < 1)? '(Reduced to ' . (round($per*100)) . '% Original Size) : ;echo Original Width: . $origW . px Height: . $origH . px ;}}?>The above should be a good starting point for you.Good Luck.Cheers,GitlezFriday, February 22, 2013 11:14 PM UT