spacebass5000
Programmer
My webserver uses:
PHP Version 4.4.2
Zend Optimizer v2.5.10
gd
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
I am simply tring to use imagecreatefromgif() to create a gif. I keep getting the following error:
Warning: imagecreatefromgif(): '/home/omnipcs/public_html/devel/example/components/com_mtree/img/listings/34_test.gif' is not a valid GIF file in /home/omnipcs/public_html/devel/example/components/com_example/includes/example.image.functions.php on line 36
The file is indeed where it should be, it exists, and is a gif that I JUST created in photoshop. I cannot seem to get around this error and I have found nothing on the web to help me.
Can anyone here shed any light onto why I am getting this error? This is how the function is being called:
$logo = imagecreatefromgif($image);
Image points to: /home/omnipcs/public_html/devel/example/components/com_mtree/img/listings/34_test.gif
Which like I said, exists and is in fact a gif.
PHP Version 4.4.2
Zend Optimizer v2.5.10
gd
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
I am simply tring to use imagecreatefromgif() to create a gif. I keep getting the following error:
Warning: imagecreatefromgif(): '/home/omnipcs/public_html/devel/example/components/com_mtree/img/listings/34_test.gif' is not a valid GIF file in /home/omnipcs/public_html/devel/example/components/com_example/includes/example.image.functions.php on line 36
The file is indeed where it should be, it exists, and is a gif that I JUST created in photoshop. I cannot seem to get around this error and I have found nothing on the web to help me.
Can anyone here shed any light onto why I am getting this error? This is how the function is being called:
$logo = imagecreatefromgif($image);
Image points to: /home/omnipcs/public_html/devel/example/components/com_mtree/img/listings/34_test.gif
Which like I said, exists and is in fact a gif.