Re: [PHP] GIF instead of JPG..

2005-03-23 Thread Ryan A
Hey! Thanks for sharing mate! I'll run it and get back to you if I have any problems. Cheers, Ryan On 3/22/2005 10:49:42 PM, Andras Kende ([EMAIL PROTECTED]) wrote: Hi, I found this beautiful piece of code on the php site which make a proportional thumbnail, problem is its only

RE: [PHP] GIF instead of JPG..

2005-03-23 Thread Ryan A
Hey! Thanks for replying. I started out to do exactly that: changeing everything from JPEG to GIF, but I also wanted to know what exactly i was doing so i started to read the manual for each function that i was using and i got a bit stumped when i came to imagecreatetruecolor as its only for

Re: [PHP] GIF instead of JPG..

2005-03-23 Thread Ryan A
Hey, Thanks for replying. The best part of your reply was: Or, you could even use http://php.net/imagegetsize and IGNORE the filename, and base your decision on what's actually *IN* the file, so when some idiot renames a jpeg to .gif because they think that will make it a GIF (yes, that really

Re: [PHP] GIF instead of JPG..

2005-03-23 Thread Tom Rogers
Hi, Wednesday, March 23, 2005, 11:30:53 PM, you wrote: RA Hi, RA I found this beautiful piece of code on the php site which make a RA proportional thumbnail, problem is its only working with JPEG files...and RA not with GIFs, can someone please help me convert it to GIF too? RA I tried but got a

[PHP] GIF instead of JPG..

2005-03-22 Thread Ryan A
Hi, I found this beautiful piece of code on the php site which make a proportional thumbnail, problem is its only working with JPEG files...and not with GIFs, can someone please help me convert it to GIF too? I tried but got a bit confused as there are no functions that are equal to

RE: [PHP] GIF instead of JPG..

2005-03-22 Thread Mike
Hi, I found this beautiful piece of code on the php site which make a proportional thumbnail, problem is its only working with JPEG files...and not with GIFs, can someone please help me convert it to GIF too? If your version of GD supports GIFs (which not all do), then it's almost as

Re: [PHP] GIF instead of JPG..

2005-03-22 Thread Richard Lynch
On Wed, March 23, 2005 5:30 am, Ryan A said: Hi, I found this beautiful piece of code on the php site which make a proportional thumbnail, problem is its only working with JPEG files...and not with GIFs, can someone please help me convert it to GIF too? I tried but got a bit confused as

Re: [PHP] GIF instead of JPG..

2005-03-22 Thread Andras Kende
Hi, I found this beautiful piece of code on the php site which make a proportional thumbnail, problem is its only working with JPEG files...and not with GIFs, can someone please help me convert it to GIF too? I tried but got a bit confused as there are no functions that are equal to