> --- Kevin Waterson <[EMAIL PROTECTED]> wrote:
> > 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
> > 
> > -- 
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> > 

On Sat, 2004-01-17 at 10:24, Daniel Guerrier wrote:
> Why create thumnails?  You can resize the images on
> the fly when needed.

If you mean resize with <img /> tag then you are wasting bandwidth. If
you mean resize by creating the thumbnail at request time, then you are
wasting processing time. Unless the thumbnail is requested very
infrequently then it is usually better to have a pre-resized image, than
to resize it on the fly.

Cheers,
Rob.
-- 
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |
`------------------------------------------------------------'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to