Heres a easy way to scale images to the <td> that they are in
*this is broken up so anyone can understand it :)
<?
$imageinfo = getimagesize("images/picture.jpg");
$ix=$imageinfo[0];
$iy=$imageinfo[1];
$widthscale = $ix/175; //<TD> WIDTH
$heightscale = $iy/175; //<TD> HEIGHT
if($widthscale < 1)
$nwidth = $ix*$widthscale;
else
$nwidth = $ix/$widthscale;
if($heightscale < 1)
$nheight = $iy*$heightscale;
else
$nheight = $iy/$heightscale;
?>