problem with imagefunctions

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rakeshgouru
Forum Newbie
Posts: 5
Joined: Thu May 03, 2007 9:56 am

problem with imagefunctions

Post 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.
nahydy
Forum Commoner
Posts: 25
Joined: Wed Aug 22, 2007 5:55 am

Post 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
Steve Mellor
Forum Commoner
Posts: 49
Joined: Thu Aug 02, 2007 8:18 am

Post 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.
Post Reply