Make it when it's uploaded. Then you make just one user wait on the server, instead of the multitude of users just viewing pages...
---John Holmes... > -----Original Message----- > From: Shane [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 12, 2002 4:10 PM > To: Philip Hallstrom > Cc: php > Subject: [PHP] RE: Thumbnails from mySQL binary data > > I have read warnings that this (imagecreatefromstring.php) is killer SLOW > simply because it is server side. Have you found this to be true? > > Would you suggest just making the thumbnail when the file is uploaded, or > do you think it is wiser just to make a thumbnail when the user requests > it, and just make them wait for the server side code to crunch? > > Thanks again group!!! > - NorthBayShane > > -----Original Message----- > From: Philip Hallstrom [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 12, 2002 12:56 PM > To: Shane > Cc: php > Subject: Re: Thumbnails from mySQL binary data > > > start with this: > > http://www.php.net/manual/en/function.imagecreatefromstring.php > > On Wed, 12 Jun 2002, Shane wrote: > > > Greetings, I just started playing with the GD functions. (FUN!!!) And I > am looking for advice or scripts on how to turn binary data from my DB > into thumbnails. > > > > I understand how to make thumbnails from existing images already > "sitting in a directory," but how can I get a scaled image to be made > directly from the binary data in my DB. > > > > Your guidance or advice would be most helpful and TRULY appreciated. > > > > As always, my final functions will be posted for all. > > Thanks in advance my friends!!! > > > > - NorthBayShane > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php