Using GD Lib to resize/save an uploaded image
Posted 01 June 2006 - 01:50 PM
I must be losing it cause I can't seem to get the hang of using gd - having spent 2 days reading the manual and various articles/posts/tutorials I'm just a tad confused about the functions I need to use.
What I'd like is a simple roadmap to follow (not code) so I can sort it out myself, so if someone could point me in the right direction it'd be great.
Here's what I'm doing (nothing complex) -
I'm uploading a jpeg using a form - I'm saving it to a dir as well as writing a url to db so I can display it - this works just fine, no trouble there.
What I'd like to plugin is a way to resize (and compress) to 2 different sizes. So now I'll save 2 images and 2 urls.
What would be the process I need to follow i.e. the flow of functions?
Thanx in advance.
Posted 01 June 2006 - 02:56 PM
Posted 02 June 2006 - 09:50 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users