Re: Thumbnails in database

From: Date: Sat, 17 Jan 2004 22:57:36 +0000
Subject: Re: Thumbnails in database
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-174939@lists.php.net to get a copy of this message
http://www.sum-it.nl/en200319.php3 <quote> Create thumbnail a.. Cropping and scaling a photo is surprisingly easy with PHP. b.. Unfortunately the functions imagecreatetruecolor() and imagecopyresampled() exist only since PHP 4.0.6 using GD 2.0.1. Older PHP version supports the functions imagecreate() and imagecopyresized(), which are good enough to do the job. c.. It is possible to generate a thumbnail on the fly, in RAM memory, using ob_start() and ob_end_clean(). That saves unnecessary fumbling around with temporary files. d.. ... </quote> hth toby > I am storing some images in a database. No problems there. > But how can I create a thumbnail do store in the db also > without having to create the thumbnail image on the > file system first? > > Kind regards > Kevin

« previous php.general (#174939) next »