hi
i have a small script, which makes thumbnail of .jpg pic.
$image="tatek.jpg";
$size = GetImageSize($image);
$width = $size[0];
$height = $size[1];
$type = $size[2];
$src = imagecreatefromjpeg("$image");
$im = imagecreate(80,100);
imagecopyresized($im,$src,0,0,0,0,80,100,$width,$height);
#echo "<A HREF=\"index.php\">";
imagejpeg($im);
imagedestroy($im);
#echo "</a>
this worx perfectly ok, but if i delete # (uncomment) these two 'echo' commands, i don't see my pic anymore, but just a source code of the pic. does anyone know, how to solve this, to use this thumbnail as a link???
is it possible to use this like that?
thanx
P.