Reply to Re: how to stop the process ?

Re: how to stop the process ? new!
by colin, 16 years, 1 month ago
You can use the folllowing constraints:
image_max_width
image_max_height
image_max_pixels
image_max_ratio
image_min_width
image_min_height
image_min_pixels
image_min_ratio

You can also 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