Re: [PHP] Image manipulation with PHP on RHLinux 7.1

2002-03-30 Thread Dale Lora Marshall
Ok, I've been looking at the image functions, and found that I needed to recompile PHP with exif support and load GD and other functions. I've done all of that and now I get the following: Source: /home/jamboimages/images/uploads/alamoarea_97_round_sm.jpg 600 : /images/patches/1997/1997R15.jpg

Re: [PHP] Image manipulation with PHP on RHLinux 7.1

2002-03-30 Thread Rasmus Lerdorf
exif_imagetype() is new function only available in PHP 4.2 (not released yet) and above. Use GetImageSize() for now. -Rasmus On Sat, 30 Mar 2002, Dale Lora Marshall wrote: Ok, I've been looking at the image functions, and found that I needed to recompile PHP with exif support and load GD

[PHP] Image manipulation with PHP on RHLinux 7.1

2002-03-24 Thread Dale Lora Marshall
Hello all. I have a PHP script which retrieves records from a database, and one field in the record is the path to an image. I want to do things with this image: See what it's size (pixes) is Resize it if necessary Move it to a different location Can someone give me an idea on how to do

Re: [PHP] Image manipulation with PHP on RHLinux 7.1

2002-03-24 Thread Dale Lora Marshall
I guess I should clarify. If the image that's referenced in the database is, for example, 700x300, I want to reduce it to 600 pixels wide, keeping the height proportional. Then, save that image to a new name somewhere else in the filesytem. Then I want to reduce the image further to 300

Re: [PHP] Image manipulation with PHP on RHLinux 7.1

2002-03-24 Thread Jason Wong
On Monday 25 March 2002 08:06, Dale Lora Marshall wrote: I guess I should clarify. If the image that's referenced in the database is, for example, 700x300, I want to reduce it to 600 pixels wide, keeping the height proportional. Then, save that image to a new name somewhere else in the