Image resize function

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Milan
Forum Commoner
Posts: 97
Joined: Wed May 17, 2006 6:08 pm

Image resize function

Post by Milan »

I have a image resize function that does not work? :(
i have a GD library installed and i would like to know does anyone knows a simple way or function to resize the image once it's uploaded.

Someting like resize(IMAGELOCATION, WIDTH, HEIGHT)

thanks!
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

search this forum for onion2k's resize class.
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: Image resize function

Post by onion2k »

Milan wrote:I have a image resize function that does not work? :(
i have a GD library installed and i would like to know does anyone knows a simple way or function to resize the image once it's uploaded.

Someting like resize(IMAGELOCATION, WIDTH, HEIGHT)

thanks!
I never thought of simplifing it that much. Cool idea. I'll write something when I get a free 10 minutes.

In the mean time.. read this: viewtopic.php?t=41743
Milan
Forum Commoner
Posts: 97
Joined: Wed May 17, 2006 6:08 pm

Post by Milan »

will do thanks!
Post Reply