Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
09-06-2009, 07:04 PM #1
- Join Date
- Oct 2002
- Thanked 2 Times in 2 Posts
you advice about uploading and resizing images?
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
Last edited by andrew1234; 09-06-2009 at 07:09 PM.
09-06-2009, 09:25 PM #2
- Join Date
- Mar 2007
- Northamptonshire, UK
- Thanked 4 Times in 4 Posts
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.