hello i have this code but i dont know why this dont work properly
// filename : index.php
this is the orig image<br>
<img src="member1_1.jpg"><p>
this is the image for 100 X 100<br>
<IMG SRC="thumbnail.php?member1_1.jpg=pix.jpg&x=100&y=100">
and the thumbnail.php is like this
<?
function thumbs($file_name_src, $file_name_dest, $weight, $quality=100) {
$size = getimagesize($file_name_src);
$w = number_format($weight, 0, ',', '');
$h = number_format(($size[1]/$size[0])*$weight,0,',','');
$dest = imagecreatetruecolor($w, $h);
imageantialias($dest, TRUE);
$src = imagecreatefromjpeg($file_name_src);
imagecopyresampled($dest, $src, 0, 0, 0, 0, $w, $h, $size[0], $size[1]);
imagejpeg($dest,$file_name_dest, $quality);
?>
i dont know know why it dont work it doesnt show the image at all
help me with this pls...
thank you in advance.
by the way here's the site link http://www.rmsdata.net/vher/index.php