|
OT: Need a PHP Guru who's good with images
I hope one of you guys here can help me, I'd be most grateful.
I've got a bit of code that I've written/stripped from somewhere and I need it to do the following:
Upload jpg to server
check orientaiton (landscape or portrait)
if portrait resize to 240 x 320
if landscape resize to 320 x 240
upate table
ATM it uploads ok, resizes anything to 320 x whatever ratio, consequently portrait images are deeper than landscape ones.
it then updates the table.
So the only problem I have is this portrait/landscape resize depending on code.
Anyone help me out? I really need someone to point me out the error of my ways! So please either PM me or mail me at chewiee 2004 | my4x4,co,uk
Thanks
Chewiee
__________________
www.my4x4.co.uk
[---------0] (99% complete)
Vauxhall Frontera Sport RS:
Kenwood KDC-W6527 HU
Silver Travla C134, Slot Loading DVD/CDRW,
256MB, VIA Epia MII 12000, Carnetix 60W, Xenarc VGA/Composite TS and a GPS Mouse
|