<? 
$f = file("http://site.com/resim.php?rid=15"); 
$w = 64; 
$h = 64; 
    $im = imagecreatetruecolor ($w, $h);  
    $imx = imagecreatefromgif($f);  
    $xxx = getimagesize($f);  
    imagecopyresampled($im, $imx, 0, 0, 0, 0, $w, $h, $xxx[0], $xxx[1]);  
    imagejpeg ($im);  
    imagedestroy($im);  
    imagedestroy($imx); 
?>
şeklind denedin mi
olmazsa path olarak adres yazıp dene
yine olmazsa resim.php nin kodlarını görelim