Hello list
I'd like to make a thumbnaile list using some gifs.
I use the following code but I got error (Call to undefined function:
imagecreatefromgif() ).
Does anybody knows what's wrong?

function viewsm($ph) {
        echo $ph;
        $imgReal = imagecreatefromgif($ph);
        $x = ImagesX($imgReal);
        $y = ImagesY($imgReal);
        $img = ImageCreate($newX,$newY);
        ImageCopyResized($img, $imgReal, 0, 0, 0, 0, $newX, $newY, $x,
        return $img;

RH-9 Linux
Apache httpd-2.0.40-21.11
PHP Version 4.3.11


PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to