Thx guys.
I did this -
$imgName = "scripts/timthumb.php?src=/auto/images/$file";
list($imageWidth, $imageHeight, $imageType, $imageAttr) = getimagesize($imgName);
if ($imageWidth > 200) {
It works perfectly fine when the image is fine but the problem is when image does not exist or some problem with image I end up with this error -
getimagesize(http://www.xxxx.com/auto/scripts/timthumb.php?src=/auto/up_images/11115096.jpg) [function.getimagesize]: could not make seekable - http://www.xxxx.com/auto/scripts/timthumb.php?src=/auto/up_images/11115096.jpg
Any idea where I have gone wrong?