Chuck - therewas a difference between the code in the file i uploaded and that which you posted
yours
$pholink = htmlspecialchars( construct_newppurl( "showphoto.php", array('photo' => $data['id'], 'title' => $data['title'], 'cat' => $data['cat']) ) );
the one uploaded
$pholink = htmlspecialchars( construct_newppurl( "showproduct.php", array('product' => $data['id'], 'title' => $data['title'], 'cat' => $data['cat']) ) );
unfortunately changing the code to the one you indicate didn't help - same problem the link on the image name still goes to
http://www.photographysites.com/Resource%20id%20#24
any other suggestions ?? Anthony