[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] [RaQ4] Php image functions
- Subject: Re: [cobalt-users] [RaQ4] Php image functions
- From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Tue Nov 12 13:35:00 2002
- Organization: Befriend Internet Services LLC
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
"William J.A. Brillinger" <billy@xxxxxxxxxx> wrote:
> What exactly do I need to do to make this work?
>
> Fatal error: imagecopyresampled(): requires GD 2.0
> or later in /home/sites/site3...
Install GD2.0+ from boutell.com, then recompile PHP with GD support linked
to that version of GD.
> Will I have to recompile php? (Ahhh!)
Yes. After reading other posts of yours in this thread though you may want
to look at ImageMagick. I personally do the same thing you are trying on
several apps I wrote by allowing the images to be uploaded then having a
script (PHP CGI or bash, though it could be anything) running from a cron
job every X minutes to check for newly uploaded images and generate the
manipulated images and delete the uploaded files.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/