> What types of images are these? JPG, PNG, GIF? Its jpg. Look... I don't know exactly what your point, I'm just asking you about the function to resolve the size of image like the codes below: if (file_exists($img_path)){ list($width,$height) = getimagesizes($img_path); }else{ $width = $ height = $max_size; } So is there any other option to replace file_exists();? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php