On 8/29/06, Ross <[EMAIL PROTECTED]> wrote:
I have an saved images I output with this...
I want to use getimagesize() to get the height and width of the image and if
it is above a certain size then scale/ reduce it.
The problems are
(i) using getimage() without a url just my viewphoto.php
Ross wrote:
> I have an saved images I output with this...
>
>
>
>
>
> I want to use getimagesize() to get the height and width of the image and if
> it is above a certain size then scale/ reduce it.
>
> The problems are
>
> (i) using getimage() without a url just my viewphoto.php script
w
I have an saved images I output with this...
I want to use getimagesize() to get the height and width of the image and if
it is above a certain size then scale/ reduce it.
The problems are
(i) using getimage() without a url just my viewphoto.php script
(ii) comparing and reducing the fil
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
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
3
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
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 pixels
This isn't image manipulation. This is filesystem manipulation.
As for the "resizing", check if you have mogrify with you Linux installation and do a
system() on it.
cheers,
--t.
On Sun, 24 Mar 2002, Dale & Lora Marshall wrote:
>
> Hello all. I have a PHP script which retrieves records from
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 this?
9 matches
Mail list logo