e2interactive forums » Sample of (E)2 Photo Gallery

Search:

Installing the GD2 for image functions

(3 posts)
  • Started 3 months ago by melowise
  • Latest reply from melowise

  1. hello

    $canvas_width = 75;
    $canvas_height = 75;

    // create a blank canvas that is 75 by 75
    $canvas = imagecreatetruecolor( $canvas_width, $canvas_height);

    when i use the function imagecreatetruecolor i get a error saying

    Fatal error: Call to undefined function imagecreatetruecolor() in C:\wamp\www\fotoweekly\photo_fns.php on line 12

    then i found out about the whole gd lib and how it works. So i went into my php.ini file and under the Windows Extensions i uncommented out the dll file

    ;extension=php_filepro.dll
    extension=php_gd2.dll
    ;extension=php_gettext.dll

    but it still does not work i am running wamp 5 and don't understand what else i need to do. I have downloaded the latest version of gdlib 2.0.35.

    Posted 3 months ago #
  2. I wont be much help with the GD2 library or server setup, sorry. I didn't write the class.upload.php it is on open source script that I use for the uploader. If you want more info on the class.upload.php visit http://www.verot.net he has and FAQ page. I don't know about setting up servers especially Windows servers, I mainly write PHP and Javascript.

    Posted 3 months ago #
  3. Thank you for getting back so quickly.

    i am still hurting on this problem, if you find any information on how to solve this problem please write back to this post. Thank you

    Posted 3 months ago #

RSS feed for this topic

Reply

You must log in to post.