Reply to Resize - Ratio_Y Doesn't seem to work!

Resize - Ratio_Y Doesn't seem to work! new!
by Patrick, 14 years, 9 months ago
Hi Colin,

I am using
if ($handle->uploaded) 
{ // OK - the temporary file has arrived on the server
    $handle->file_new_name_body 	= $new_pic_name;
    $handle->image_resize		= true;
    $handle->image_ratio_y		= true;
    $handle->image_x			= 450;
    $handle->allowed			= array('image/*');

very similar to your example but the picture ratio when loaded is not correct - it appears squashed in the vertical - any ideas?

Regards.
Patrick.
PS. I've downloaded the latest version 0.29.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