...

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



andrew1234
09-06-2009, 06:04 PM
Hi

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

Thanks

A

the-dream
09-06-2009, 08: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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum