Products Results page link only active when picture on detail page
I'd like to create a PHP condition where the links i Have on the products__results page(the Thumb and Title) to the products_detail page are only active when there is a picture in the DB field('Big_Pic_Name') for the products_detail page. You can see the products_results at http://outofchaos.net/gsc/www/products_results.php?Category_ID=6&Search=1 and file is attached. Your help would be much appreciated.