View Full Version : you advice about uploading and resizing images?

09-06-2009, 07:04 PM

I want to write a little script that uploads an image and resizes it.

But I want to write it myself without using someone else's code.

so here here is my question:

What php function do you recommend for resizing the image that I upload

eg upload a 400px x 400px 1mb jpg and convert it to a 100px x 100px 30 kb jpg.

or do you have a URL that explains more about this concept?

I would also like to do it in standard php5?

is this posible?

thanks for the help



09-06-2009, 09:25 PM
Looking for a script on Google, would probably be your best bet, then using that to create your own. You need to start somewhere.

I'd also recommend looking into the GD Image Library, see: http://www.boutell.com/gd/

About.com and various other sites usually have articles about this kind of thing, it just takes a little research.