Computer Science Canada

Image problems...

Author:  Amailer [ Sat Oct 25, 2003 1:36 am ]
Post subject:  Image problems...

code:

   $image_f = $dir . $images[$key];
       
   header ("Content-type: image/gif");

   ImageCreateFromGif($image_f);

   ImageGiF($image_f);

   ImageDestroy($image_f);

Correct? or am i doing something wrong or missing something?

When i view the source i get this error:
code:

<br />
<b>Fatal error</b>:  Call to undefined function:  imagegif() in <b>C:\Program Files\Apache Group\Apache2\htdocs\pictures\new_image.php</b> on line <b>34</b><br />

Author:  octopi [ Sun Oct 26, 2003 1:59 pm ]
Post subject: 

Use jpeg instead, gif is no longer supported because of copyright issues.

Author:  Amailer [ Mon Oct 27, 2003 8:15 pm ]
Post subject: 

Oh? HMM ODD
how is: http://termix-zero.ath.cx/pictures/includes/create_img.php?out=termix4.gif&click=DL
working? its the same damm thing...oh well


: