Re: [PHP] image calculation problem

2005-04-13 Thread Ryan A
Thanks mate, it works perfectly. -Ryan On 4/13/2005 11:35:23 PM, Philip Hallstrom ([EMAIL PROTECTED]) wrote: > see below... > > > > > Basically I am trying to make a thumb where the width is 87px...I dont > > > care what the height is, heres the code: > > > > > > function prop_thumb_height() > >

Re: [PHP] image calculation problem

2005-04-13 Thread Philip Hallstrom
see below... Basically I am trying to make a thumb where the width is 87px...I dont care what the height is, heres the code: function prop_thumb_height() { // The file $filename = 'cat.jpg'; // Content type header('Content-type: image/jpeg'); // Get new dimensions list($width_orig, $height_orig)

[PHP] image calculation problem

2005-04-13 Thread Ryan A
Hi, I copied this from the php site, but trying to modify it is driving me nuts coz its not working. Basically I am trying to make a thumb where the width is 87px...I dont care what the height is, heres the code: function prop_thumb_height() { // The file $filename = 'cat.jpg'; // Set a maximum