hi all.
i'm creating a thumbnail creator, and i have two seperate sections of the code - one for jpegs and one for gifs.
after using imagecopyresampled, my last step is using imageJPEG and imageGIF depending on the image type.
as you know i'm about to say, this works fine with jpegs but i get the following error when I try to create the gif:
the image "..." cannot be displayed because it contains errors.
i then do a view source and i see this:
[tt]<br />
<b>Fatal error</b>: Call to undefined function: imagegif() in <b>/home/httpd/vhosts/.../httpdocs/item.php</b> on line <b>135</b><br />[/tt]
so, what does this mean? i'm confused as to why imageJPEG would be defined but imageGIF would not be...
thanks for your insight!
*cLFlaVA
----------------------------
[tt]"quote goes here"[/tt]
[URL unfurl="true"]http://www.coryarthus.com/[/url]
i'm creating a thumbnail creator, and i have two seperate sections of the code - one for jpegs and one for gifs.
after using imagecopyresampled, my last step is using imageJPEG and imageGIF depending on the image type.
as you know i'm about to say, this works fine with jpegs but i get the following error when I try to create the gif:
the image "..." cannot be displayed because it contains errors.
i then do a view source and i see this:
[tt]<br />
<b>Fatal error</b>: Call to undefined function: imagegif() in <b>/home/httpd/vhosts/.../httpdocs/item.php</b> on line <b>135</b><br />[/tt]
so, what does this mean? i'm confused as to why imageJPEG would be defined but imageGIF would not be...
thanks for your insight!
*cLFlaVA
----------------------------
[tt]"quote goes here"[/tt]
[URL unfurl="true"]http://www.coryarthus.com/[/url]