nahhh, if you're doing a lot of images on a page, doing a system call for
each one would generate entirely too much overhead, imo.

check out the built-in image manipulation functions in php.
http://www.php.net/manual/en/ref.image.php

there is a function called ImageCopyResized() which is probably what you would need to 
use.  i used to have a thumbnailer written in php but alas, it's been so long ago, 
that i forgot how i wrote it. :)

~shawn

----- Original Message -----
From: George E. Papadakis <[EMAIL PROTECTED]>
To: Samuel L?scher <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, May 21, 2001 8:31 AM
Subject: Re: [PHP] generating thumbnails


> Find a good command line programm that does resing and use exec or system
to
> do the thumbnailing
> Fopen >> fwrite  >> exec.
>
> If you are on linux I suggest using NetPBM.
>
> ----- Original Message -----
> From: "Samuel L?scher" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, May 21, 2001 3:21 PM
> Subject: [PHP] generating thumbnails
>
>
> > is there any way to resize images in php and save them to a new file?
> > i want to write sort of a (db-powered) picture gallery that
automatically
> > creates thumbnails out of http-uploaded files.
> >
> > thanks for your advice
> > venome
> >
> > --
> > GMX - Die Kommunikationsplattform im Internet.
> > http://www.gmx.net
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to