small picture into thumbnail

From: Date: Sun, 29 Apr 2007 16:15:49 +0000
Subject: small picture into thumbnail
Groups: php.general 
Request: Send a blank email to php-general+get-254110@lists.php.net to get a copy of this message
Hi, I would like to know how i can display small sized picture in my web application ? I mean in my database, picture can have max. 500 Kb, however as on 1 PHP page i will display 20 pictures at once, i do not want to force end users to download all 20 pictures (10Mb around) to have an overview. I would like directly on server to resize picture to display them to end user in format 100px*120px (for example) and like that size should be around 20 or 50Kb per picture. I was thinking to use imagecopyresized function for that, but will it no kill the server CPU and RAM ? If you have some other suggestion, they are welcome, but do not forget that i must have pictures in Database and 500 Kb (due to picture printing later on - so good enough quality). thanks a lot, -- Alain ------------------------------------ Windows XP SP2 PostgreSQL 8.1.4 Apache 2.0.58 PHP 5

« previous php.general (#254110) next »