RE: [PHP] small picture into thumbnail
| From: | WeberSites LTD | Date: | Mon, 30 Apr 2007 18:17:05 +0000 |
| Subject: | RE: [PHP] small picture into thumbnail | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-254146@lists.php.net to get a copy of this message | ||
http://www.php-code-search.com/
Type "thumb" without the "
berber
-----Original Message-----
From: Alain Roger [mailto:raf.news@gmail.com]
Sent: Sunday, April 29, 2007 6:16 PM
To: PHP General List
Subject: [PHP] small picture into thumbnail
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