Reply to Re: Landscape or portrait images

Re: Landscape or portrait images new!
by colin, 17 years, 1 month ago
You can do this with a little bit of coding.

Instantiate the class first, and then if $foo->uploaded == true, you can read the following variables:
image_src_x
image_src_y
image_src_bits, 
image_src_pixels
image_src_type
Then, you can call $foo->process() with different parameters, depending on the variables above.

Note that this will not work if open_basedir restrictions are in place.Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important