This is a discussion on images within the PHP Language forums, part of the PHP Programming Forums category; I am a newbie. I have a large number of images. Is there a function that return a small image ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I am a newbie. I have a large number of images. Is there a function that
return a small image without first writing to disk. I want to minimize the number of files I have on my disk. This is for intenrnal application that I want to develop. It will be accessed through local area network. Thanks in advance |
|
|||
|
mickeyg <meshulamtemp@yahoo.com> wrote:
> I am a newbie. I have a large number of images. Is there a function that > return a small image without first writing to disk. See the GD functions in the manual... -read the image -resize the image -return the result to browser Up to you to find the exact function names :) > I want to minimize the number of files I have on my disk. This is for > intenrnal application that I want to develop. It will be accessed > through local area network. So you are sacrificing _huge_ amounts of CPU time for a couple of kb per image! |
|
|||
|
Yes, you can use gd image resizing, you might want to read about gd
and the functions of it here http://ro.php.net/manual/en/function...yresampled.php! You have there an example that i think will suit your needs! Ovidiu Developers Forum http://www.DevPlug.com --Connecting Developers |