PROBLEMA CON THUMBNAILS

Kano
29 de Septiembre del 2003
Buenass!!!

Ando un poco desesperado con un problema.
Estoy intentando crear un thumbnail a partir de una imagen y no hay manera de que lo consiga, concretamente la imagen es un .gif, esta configurada perfectamente la libreria GD por lo menos eso creo:


GD Support enabled
GD Version bundled (2.0.15 compatible)
FreeType Support enabled
FreeType Linkage with TTF library
T1Lib Support enabled
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

Creo q sta bien...

Intento hacer lo siguiente:
<?php

imagen_mini("imagen.gif");

function imagen_mini($path_imagen)
{
$ancho="200";
$alto="150";

$fuente=@imagecreatefromgif($path_imagen);
$AnchoImagen=imagesx($fuente);
$AltoImagen=imagesy($fuente);
$imagen_mini=ImageCreate($ancho,$alto);
ImageCopyResized($imagen_mini,$fuente,$fuente,0,0,0,0,$ancho,$alto,$AnchoImagen,$AltoImagen);
Header("Content-type: image/gif");
imageGif($imagen_mini);
}

?>

Me aparecen los siguientes errores!!!!!!!!:

Warning: Wrong parameter count for imagecopyresized() in /var/www/pruebas/imagen.php4 on line 55

Warning: Cannot modify header information - headers already sent by (output started at /var/www/pruebas/imagen.php4:10) in /var/www/pruebas/imagen.php4 on line 56

Fatal error: Call to undefined function: imagegif() in /var/www/pruebas/imagen.php4 on line 58

Si alguien m pudiera hexar una mano se lo agradeceria muxisimo!!

Un saludo