Page 1 of 1

problem with imagefunctions

Posted: Tue Aug 28, 2007 3:23 am
by rakeshgouru
Iam working with image functions to create dynamic images, in one of my system these functions are not working.
Functions :
imagecreatefromjpeg()
imagecreatefrompng()
imagecreatefromgif()

and iam working on windows2000 O.S, iis server 5+version and php version 5.0.4

I need some help.

Thanks in Advance.

Posted: Tue Aug 28, 2007 3:51 am
by nahydy
hi recently i had the same problem like you i used ubuntu and php 5. and those functions doesn't works. and then i founded that a library GD php for graphics is required to create a dynamic image. may be you should install this library. here a link http://www.boutell.com/gd/
i hope it can help you

Posted: Tue Aug 28, 2007 6:27 am
by Steve Mellor
Also, check that the library is initialised. I was using Wampserver for development and couldn't understand why it wasn't working until I realised the line

Code: Select all

extension=php_gd.dll
was commented out.