Reply to Re: Remove file_new_name_ext from file_dst_name

Re: Remove file_new_name_ext from file_dst_name new!
by colin, 16 years, 2 months ago
To set the width and the height to be 500px maximum, you can do this:
$imageb->file_new_name_body = 'test';
$imageb->image_resize = true;
$imageb->image_x = 500;
$imageb->image_y = 500;
$imageb->image_ratio = true;
$imageb->process('upload/thumb/');
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