Hey i need to make this work
<?
/
Image thumbnailer by Bill Griffith, Griffith MUltimedia
/
function imgtn ($thumb) {
$new_w=110;
$new_h=112;
$src_img=ImageCreateFromjpeg($thumb . ".JPG");
$img_c = imagecreate($new_w,$new_h);
ImageCopyResized($img_c,$src_img,0,0,0,0,$new_w,$new_h,ImageSX($src_img),ImageSY($src_img));
$fname = $thumb . "_small.JPG";
Imagejpeg($img_c, $fname);
}
?>
That is my script. the only problem is that it produces very crappy looking thumbs. I would use imagecreatetruecolor but my web host only has gd 1.8.4. I am thinking about using image magic but is that something i need root access to 2 install? And i couldn't find much on how 2 use imagemagick with php... only perl and c and stuff.